mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 13:47:05 +02:00
Added account warning when no drafts folder
This commit is contained in:
@@ -23,12 +23,14 @@ public class TupleAccountEx extends EntityAccount {
|
||||
public int unseen;
|
||||
public int unsent;
|
||||
public int operations;
|
||||
public boolean drafts;
|
||||
|
||||
public boolean uiEquals(Object obj) {
|
||||
if (obj instanceof TupleAccountEx) {
|
||||
TupleAccountEx other = (TupleAccountEx) obj;
|
||||
return (super.equals(obj) &&
|
||||
this.unseen == other.unseen);
|
||||
this.unseen == other.unseen &&
|
||||
this.drafts == other.drafts);
|
||||
} else
|
||||
return false;
|
||||
}
|
||||
@@ -40,7 +42,8 @@ public class TupleAccountEx extends EntityAccount {
|
||||
return (super.equals(obj) &&
|
||||
this.unseen == other.unseen &&
|
||||
this.unsent == other.unsent &&
|
||||
this.operations == other.operations);
|
||||
this.operations == other.operations &&
|
||||
this.drafts == other.drafts);
|
||||
} else
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user