mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-10-08 19:10:53 +00:00
better isEqual for ChatTheme
This commit is contained in:
parent
f56f138aec
commit
11a5e97304
@ -117,7 +117,7 @@ public enum ChatTheme: PostboxCoding, Codable, Equatable {
|
||||
case .unique(let lhsUnique):
|
||||
switch rhsGift {
|
||||
case .unique(let rhsUnique):
|
||||
return lhsUnique.id == rhsUnique.id
|
||||
return lhsUnique.slug == rhsUnique.slug
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user