mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-28 00:20:50 +01:00
Differentiate between normal and found threads
This commit is contained in:
@@ -56,17 +56,19 @@ public class ViewModelMessages extends ViewModel {
|
||||
next = item;
|
||||
}
|
||||
return new Target[]{
|
||||
prev == null ? null : new Target(prev.account, prev.thread),
|
||||
next == null ? null : new Target(next.account, next.thread)};
|
||||
prev == null ? null : new Target(prev.account, prev.thread, prev.ui_found),
|
||||
next == null ? null : new Target(next.account, next.thread, next.ui_found)};
|
||||
}
|
||||
|
||||
class Target {
|
||||
long account;
|
||||
String thread;
|
||||
boolean found;
|
||||
|
||||
Target(long account, String thread) {
|
||||
Target(long account, String thread, boolean found) {
|
||||
this.account = account;
|
||||
this.thread = thread;
|
||||
this.found = found;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user