Show number of pending operations in navigation menu

This commit is contained in:
M66B
2019-03-12 15:54:25 +00:00
parent c4961ce7d2
commit d4e8f8dc59
8 changed files with 1613 additions and 32 deletions

View File

@@ -21,13 +21,15 @@ package eu.faircode.email;
public class TupleAccountEx extends EntityAccount {
public int unseen;
public int operations;
@Override
public boolean equals(Object obj) {
if (obj instanceof TupleAccountEx) {
TupleAccountEx other = (TupleAccountEx) obj;
return (super.equals(obj) &&
this.unseen == other.unseen);
this.unseen == other.unseen &&
this.operations == other.operations);
} else
return false;
}