Small fix

This commit is contained in:
M66B 2020-05-28 14:17:13 +02:00
parent f8c3a0f8ad
commit 0cdcda8e2b
1 changed files with 2 additions and 2 deletions

View File

@ -2810,7 +2810,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
}, ViewConfiguration.getDoubleTapTimeout());
} else {
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);
Bundle args = new Bundle();
@ -3975,7 +3975,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
properties.setExpanded(message, false);
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);
}