mirror of https://github.com/M66B/FairEmail.git
Small logic fix
This commit is contained in:
parent
b29eb3b2ad
commit
8fa6b65d7a
|
@ -5679,7 +5679,9 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||||
if (!junk) {
|
if (!junk) {
|
||||||
SharedPreferences.Editor editor = prefs.edit();
|
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) {
|
for (Address sender : senders) {
|
||||||
String from = ((InternetAddress) sender).getAddress();
|
String from = ((InternetAddress) sender).getAddress();
|
||||||
if (TextUtils.isEmpty(from))
|
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());
|
editor.putBoolean(full ? "ask_html" : "ask_images", !cbNotAgain.isChecked());
|
||||||
|
|
||||||
if (cbNotAgain.isChecked())
|
|
||||||
editor.putBoolean(full ? "confirm_html" : "confirm_images", false);
|
|
||||||
|
|
||||||
editor.apply();
|
editor.apply();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue