mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-29 00:51:44 +01:00
Added setting to enable/disable conversation threading
This commit is contained in:
@@ -56,18 +56,20 @@ public class ViewModelMessages extends ViewModel {
|
||||
next = item;
|
||||
}
|
||||
return new Target[]{
|
||||
prev == null ? null : new Target(prev.account, prev.thread, prev.ui_found),
|
||||
next == null ? null : new Target(next.account, next.thread, next.ui_found)};
|
||||
prev == null ? null : new Target(prev.account, prev.thread, prev.id, prev.ui_found),
|
||||
next == null ? null : new Target(next.account, next.thread, next.id, next.ui_found)};
|
||||
}
|
||||
|
||||
class Target {
|
||||
long account;
|
||||
String thread;
|
||||
long id;
|
||||
boolean found;
|
||||
|
||||
Target(long account, String thread, boolean found) {
|
||||
Target(long account, String thread, long id, boolean found) {
|
||||
this.account = account;
|
||||
this.thread = thread;
|
||||
this.id = id;
|
||||
this.found = found;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user