mirror of https://github.com/M66B/FairEmail.git
Disconnect's protecting list is unsuitable for tracking images
This commit is contained in:
parent
a1288aa3df
commit
7e82dee665
|
@ -502,6 +502,7 @@ public class FragmentOptionsPrivacy extends FragmentBase implements SharedPrefer
|
|||
sb.append(value);
|
||||
}
|
||||
tvClientId.setText(sb);
|
||||
swDisconnectImages.setVisibility(BuildConfig.DEBUG ? View.VISIBLE : View.GONE);
|
||||
|
||||
PreferenceManager.getDefaultSharedPreferences(getContext()).registerOnSharedPreferenceChangeListener(this);
|
||||
|
||||
|
|
|
@ -2186,7 +2186,7 @@ public class HtmlHelper {
|
|||
|
||||
static void removeTrackingPixels(Context context, Document document) {
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
||||
boolean disconnect_images = prefs.getBoolean("disconnect_images", false);
|
||||
boolean disconnect_images = (prefs.getBoolean("disconnect_images", false) && BuildConfig.DEBUG);
|
||||
|
||||
Drawable d = context.getDrawable(R.drawable.twotone_my_location_24);
|
||||
d.setTint(Helper.resolveColor(context, R.attr.colorWarning));
|
||||
|
|
Loading…
Reference in New Issue