Optionally show unified inbox in nav menu

This commit is contained in:
M66B
2022-11-06 17:47:46 +01:00
parent 62fcc7da21
commit 4b57d527b7
3 changed files with 70 additions and 13 deletions

View File

@@ -23,6 +23,7 @@ import java.util.Objects;
public class TupleFolderUnified {
public String type;
public boolean unified;
public int folders;
public int messages;
public int unseen;
@@ -35,6 +36,7 @@ public class TupleFolderUnified {
if (obj instanceof TupleFolderUnified) {
TupleFolderUnified other = (TupleFolderUnified) obj;
return (Objects.equals(this.type, other.type) &&
this.unified == other.unified &&
this.folders == other.folders &&
this.messages == other.messages &&
this.unseen == other.unseen &&