Unified folder colors

This commit is contained in:
M66B
2021-09-22 21:14:37 +02:00
parent 0760db212a
commit 5aa128b156
6 changed files with 14 additions and 1 deletions

View File

@@ -26,6 +26,8 @@ public class TupleFolderUnified {
public int messages;
public int unseen;
public String sync_state;
public Integer color;
public int colorCount;
@Override
public boolean equals(Object obj) {
@@ -34,7 +36,9 @@ public class TupleFolderUnified {
return (Objects.equals(this.type, other.type) &&
this.messages == other.messages &&
this.unseen == other.unseen &&
Objects.equals(this.sync_state, other.sync_state));
Objects.equals(this.sync_state, other.sync_state) &&
Objects.equals(this.color, other.color) &&
this.colorCount == other.colorCount);
} else
return false;
}