mirror of https://github.com/M66B/FairEmail.git
Skip duplicate messages for scroll to top
This commit is contained in:
parent
0c0f88b2e5
commit
dd593ce56a
|
@ -3607,7 +3607,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|||
if (autoscroll && previousList != null)
|
||||
for (int i = 0; i < previousList.size(); i++) {
|
||||
TupleMessageEx message = previousList.get(i);
|
||||
if (message != null && !message.ui_seen && !message.ui_ignored)
|
||||
if (message != null && !message.ui_seen && !message.ui_ignored && !message.duplicate)
|
||||
prev++;
|
||||
}
|
||||
|
||||
|
@ -3615,7 +3615,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|||
if (autoscroll && currentList != null)
|
||||
for (int i = 0; i < currentList.size(); i++) {
|
||||
TupleMessageEx message = currentList.get(i);
|
||||
if (message != null && !message.ui_seen && !message.ui_ignored)
|
||||
if (message != null && !message.ui_seen && !message.ui_ignored && !message.duplicate)
|
||||
cur++;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue