1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-01 12:44:42 +00:00

Small fix

This commit is contained in:
M66B 2020-05-28 14:17:13 +02:00
parent f8c3a0f8ad
commit 0cdcda8e2b

View file

@ -2810,7 +2810,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
}, ViewConfiguration.getDoubleTapTimeout()); }, ViewConfiguration.getDoubleTapTimeout());
} else { } else {
message.ui_seen = !message.ui_seen; message.ui_seen = !message.ui_seen;
message.unseen = (message.ui_seen ? 0 : message.count); message.unseen = (message.ui_seen ? 0 : message.visible);
bindTo(message, false); bindTo(message, false);
Bundle args = new Bundle(); Bundle args = new Bundle();
@ -3975,7 +3975,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
properties.setExpanded(message, false); properties.setExpanded(message, false);
message.ui_seen = args.getBoolean("seen"); message.ui_seen = args.getBoolean("seen");
message.unseen = (message.ui_seen ? 0 : message.count); message.unseen = (message.ui_seen ? 0 : message.visible);
bindTo(message, false); bindTo(message, false);
} }