Fixed unconfirm images/html

pull/172/head
M66B 5 years ago
parent 9665ff64f2
commit 97f99a583f

@ -1485,12 +1485,16 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
} }
boolean confirm_images = prefs.getBoolean("confirm_images", true); boolean confirm_images = prefs.getBoolean("confirm_images", true);
boolean confirm_html = prefs.getBoolean("confirm_html", true); if (!confirm_images && !properties.getValue("images_asked", message.id)) {
if (!confirm_images)
properties.setValue("images", message.id, true); 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", message.id, true);
properties.setValue("full_asked", message.id, true);
}
boolean show_full = properties.getValue("full", message.id); boolean show_full = properties.getValue("full", message.id);
boolean show_images = properties.getValue("images", message.id); boolean show_images = properties.getValue("images", message.id);

Loading…
Cancel
Save