mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 12:44:42 +00:00
Fixed previous/next with unseen filter
This commit is contained in:
parent
bb5c5c7de8
commit
9d5a8b0351
1 changed files with 2 additions and 0 deletions
|
@ -264,6 +264,8 @@ public class ViewModelMessages extends ViewModel {
|
|||
for (int pos = 0; pos < messages.size(); pos++) {
|
||||
TupleMessageEx item = messages.get(pos);
|
||||
if (item != null && id == item.id) {
|
||||
fallback = true;
|
||||
|
||||
if (pos - 1 >= 0) {
|
||||
TupleMessageEx next = messages.get(pos - 1);
|
||||
intf.onNext(true, next == null ? null : next.id);
|
||||
|
|
Loading…
Reference in a new issue