Prevent flicker

pull/180/head
M66B 5 years ago
parent 29f05b94ab
commit 669bafffce

@ -3277,6 +3277,8 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
(message.accountAutoSeen && !message.folderReadOnly))) { (message.accountAutoSeen && !message.folderReadOnly))) {
message.unseen = 0; message.unseen = 0;
message.ui_seen = true; message.ui_seen = true;
message.visible_unseen = 0;
message.ui_unsnoozed = false;
} }
properties.setValue("expanded", message.id, expanded); properties.setValue("expanded", message.id, expanded);
bindTo(message, expanded); bindTo(message, expanded);

@ -1482,6 +1482,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
(message.accountAutoSeen && !message.ui_seen && !message.folderReadOnly))) { (message.accountAutoSeen && !message.ui_seen && !message.folderReadOnly))) {
message.unseen = 0; message.unseen = 0;
message.ui_seen = true; message.ui_seen = true;
message.visible_unseen = 0;
message.ui_unsnoozed = false; message.ui_unsnoozed = false;
} }

Loading…
Cancel
Save