mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-02 23:26:12 +02:00
Allow auto image for original messages
This commit is contained in:
@@ -3027,7 +3027,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||
this.flags = prefs.getBoolean("flags", true);
|
||||
this.preview = prefs.getBoolean("preview", false);
|
||||
this.autohtml = prefs.getBoolean("autohtml", false);
|
||||
this.autoimages = (!this.autohtml && prefs.getBoolean("autoimages", false));
|
||||
this.autoimages = prefs.getBoolean("autoimages", false);
|
||||
this.debug = prefs.getBoolean("debug", false);
|
||||
|
||||
this.textSize = Helper.getTextSize(context, zoom);
|
||||
|
||||
@@ -385,7 +385,6 @@ public class FragmentOptions extends FragmentBase implements SharedPreferences.O
|
||||
@Override
|
||||
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {
|
||||
prefs.edit().putBoolean("autohtml", checked).apply();
|
||||
swImages.setEnabled(!checked);
|
||||
}
|
||||
});
|
||||
|
||||
@@ -638,7 +637,6 @@ public class FragmentOptions extends FragmentBase implements SharedPreferences.O
|
||||
swHtml.setChecked(prefs.getBoolean("autohtml", false));
|
||||
swTracking.setChecked(prefs.getBoolean("remove_tracking", true));
|
||||
swImages.setChecked(prefs.getBoolean("autoimages", false));
|
||||
swImages.setEnabled(!swHtml.isChecked());
|
||||
swActionbar.setChecked(prefs.getBoolean("actionbar", true));
|
||||
|
||||
swPull.setChecked(prefs.getBoolean("pull", true));
|
||||
|
||||
Reference in New Issue
Block a user