Fixed updating unseen state

pull/175/head
M66B 5 years ago
parent 7519d4c535
commit ee37f1febd

@ -2825,17 +2825,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
else {
boolean expanded = !properties.getValue("expanded", message.id);
properties.setExpanded(message, expanded);
ibExpander.setTag(expanded);
ibExpander.setImageLevel(expanded ? 0 /* less*/ : 1 /* more */);
if (expanded)
bindExpanded(message, true);
else
clearExpanded(message);
bindFlagged(message, expanded);
bindExpandWarning(message, expanded);
bindTo(message, getAdapterPosition());
// Needed for expand one
properties.scrollTo(getAdapterPosition());

Loading…
Cancel
Save