mirror of https://github.com/M66B/FairEmail.git
Fix updating nav account/folder state
This commit is contained in:
parent
7f9b4fc2b5
commit
816ab11ef9
|
@ -195,7 +195,8 @@ public class AdapterNavAccount extends RecyclerView.Adapter<AdapterNavAccount.Vi
|
||||||
return Objects.equals(a1.name, a2.name) &&
|
return Objects.equals(a1.name, a2.name) &&
|
||||||
Objects.equals(a1.color, a2.color) &&
|
Objects.equals(a1.color, a2.color) &&
|
||||||
a1.unseen == a2.unseen &&
|
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.accountColor, f2.accountColor) &&
|
||||||
Objects.equals(f1.state, f2.state) &&
|
Objects.equals(f1.state, f2.state) &&
|
||||||
Objects.equals(f1.sync_state, f2.sync_state) &&
|
Objects.equals(f1.sync_state, f2.sync_state) &&
|
||||||
|
Objects.equals(f1.last_sync, f2.last_sync) &&
|
||||||
f1.unseen == f2.unseen &&
|
f1.unseen == f2.unseen &&
|
||||||
f1.operations == f2.operations &&
|
f1.operations == f2.operations &&
|
||||||
f1.executing == f2.executing);
|
f1.executing == f2.executing);
|
||||||
|
|
Loading…
Reference in New Issue