mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-05 20:34:49 +01:00
Fix updating nav account/folder state
This commit is contained in:
@@ -195,7 +195,8 @@ public class AdapterNavAccount extends RecyclerView.Adapter<AdapterNavAccount.Vi
|
||||
return Objects.equals(a1.name, a2.name) &&
|
||||
Objects.equals(a1.color, a2.color) &&
|
||||
a1.unseen == a2.unseen &&
|
||||
Objects.equals(a1.state, a2.state);
|
||||
Objects.equals(a1.state, a2.state) &&
|
||||
Objects.equals(a1.last_connected, a2.last_connected);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -225,6 +225,7 @@ public class AdapterNavFolder extends RecyclerView.Adapter<AdapterNavFolder.View
|
||||
Objects.equals(f1.accountColor, f2.accountColor) &&
|
||||
Objects.equals(f1.state, f2.state) &&
|
||||
Objects.equals(f1.sync_state, f2.sync_state) &&
|
||||
Objects.equals(f1.last_sync, f2.last_sync) &&
|
||||
f1.unseen == f2.unseen &&
|
||||
f1.operations == f2.operations &&
|
||||
f1.executing == f2.executing);
|
||||
|
||||
Reference in New Issue
Block a user