Fixes profile equality check
This commit is contained in:
parent
7dba429a7b
commit
8a289941eb
|
@ -19,5 +19,7 @@ class Profile {
|
|||
|
||||
@override
|
||||
bool operator ==(dynamic other) =>
|
||||
avatarUrl == other.avatarUrl && displayname == other.displayname;
|
||||
(other is Profile) &&
|
||||
avatarUrl == other.avatarUrl &&
|
||||
displayname == other.displayname;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue