mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-03 21:55:13 +00:00
Fixed unconfirm images/html
This commit is contained in:
parent
9665ff64f2
commit
97f99a583f
1 changed files with 8 additions and 4 deletions
|
@ -1485,12 +1485,16 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|||
}
|
||||
|
||||
boolean confirm_images = prefs.getBoolean("confirm_images", true);
|
||||
boolean confirm_html = prefs.getBoolean("confirm_html", true);
|
||||
|
||||
if (!confirm_images)
|
||||
if (!confirm_images && !properties.getValue("images_asked", message.id)) {
|
||||
properties.setValue("images", message.id, true);
|
||||
if (!confirm_html)
|
||||
properties.setValue("images_asked", message.id, true);
|
||||
}
|
||||
|
||||
boolean confirm_html = prefs.getBoolean("confirm_html", true);
|
||||
if (!confirm_html && !properties.getValue("full_asked", message.id)) {
|
||||
properties.setValue("full", message.id, true);
|
||||
properties.setValue("full_asked", message.id, true);
|
||||
}
|
||||
|
||||
boolean show_full = properties.getValue("full", message.id);
|
||||
boolean show_images = properties.getValue("images", message.id);
|
||||
|
|
Loading…
Reference in a new issue