Show account/identity dimmed when disabled

This commit is contained in:
M66B
2022-01-10 19:41:10 +01:00
parent 4a5d6be29b
commit c6fe5fcaf9
4 changed files with 10 additions and 6 deletions

View File

@@ -24,6 +24,7 @@ import java.util.Objects;
public class TupleIdentityEx extends EntityIdentity {
public String accountName;
public String accountCategory;
public boolean accountSynchronize;
public Long drafts;
@Override
@@ -31,9 +32,10 @@ public class TupleIdentityEx extends EntityIdentity {
if (obj instanceof TupleIdentityEx) {
TupleIdentityEx other = (TupleIdentityEx) obj;
return (super.equals(obj) &&
Objects.equals(accountCategory, other.accountCategory) &&
Objects.equals(accountName, other.accountName) &&
Objects.equals(drafts, other.drafts));
Objects.equals(this.accountCategory, other.accountCategory) &&
Objects.equals(this.accountName, other.accountName) &&
this.accountSynchronize == other.accountSynchronize &&
Objects.equals(this.drafts, other.drafts));
} else
return false;
}