mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-07 09:33:39 +02:00
Small logic fix
This commit is contained in:
@@ -5679,7 +5679,9 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||
if (!junk) {
|
||||
SharedPreferences.Editor editor = prefs.edit();
|
||||
|
||||
if (senders != null)
|
||||
if (cbNotAgain.isChecked() && cbNeverAgain.isChecked())
|
||||
editor.putBoolean(full ? "confirm_html" : "confirm_images", false);
|
||||
else if (senders != null && !cbNotAgain.isChecked())
|
||||
for (Address sender : senders) {
|
||||
String from = ((InternetAddress) sender).getAddress();
|
||||
if (TextUtils.isEmpty(from))
|
||||
@@ -5694,9 +5696,6 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||
|
||||
editor.putBoolean(full ? "ask_html" : "ask_images", !cbNotAgain.isChecked());
|
||||
|
||||
if (cbNotAgain.isChecked())
|
||||
editor.putBoolean(full ? "confirm_html" : "confirm_images", false);
|
||||
|
||||
editor.apply();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user