mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-02 02:50:56 +01:00
Fixed identity selection changing, refactoring
This commit is contained in:
@@ -21,4 +21,14 @@ package eu.faircode.email;
|
||||
|
||||
public class TupleIdentityEx extends EntityIdentity {
|
||||
public String accountName;
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
if (obj instanceof TupleIdentityEx) {
|
||||
TupleIdentityEx other = (TupleIdentityEx) obj;
|
||||
return (super.equals(obj) &&
|
||||
(this.accountName == null ? other.accountName == null : accountName.equals(other.accountName)));
|
||||
} else
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user