Fix bug related to adding communities with the same name to a multicommunities

This commit is contained in:
Balazs Toldi 2024-01-05 19:09:40 +01:00
parent c4eace9330
commit 8c8c6c6195
No known key found for this signature in database
GPG Key ID: 6C7D440036F99D58

View File

@ -91,7 +91,7 @@ public class SubredditWithSelection implements Parcelable {
if (!(obj instanceof SubredditWithSelection)) { if (!(obj instanceof SubredditWithSelection)) {
return false; return false;
} else { } else {
return this.getName().compareToIgnoreCase(((SubredditWithSelection) obj).getName()) == 0; return this.getQualifiedName().compareToIgnoreCase(((SubredditWithSelection) obj).getQualifiedName()) == 0;
} }
} }