mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Video player improvements
This commit is contained in:
@@ -223,7 +223,6 @@ public final class AvailableReactions: Equatable, Codable {
|
||||
|
||||
var reactions = reactions
|
||||
reactions.removeAll(where: { if case .stars = $0.value { return true } else { return false } })
|
||||
//TODO:release
|
||||
reactions.append(generateStarsReaction())
|
||||
self.reactions = reactions
|
||||
}
|
||||
@@ -243,7 +242,6 @@ public final class AvailableReactions: Equatable, Codable {
|
||||
|
||||
self.hash = try container.decodeIfPresent(Int32.self, forKey: .newHash) ?? 0
|
||||
|
||||
//TODO:release
|
||||
var reactions = try container.decode([Reaction].self, forKey: .reactions)
|
||||
reactions.removeAll(where: { if case .stars = $0.value { return true } else { return false } })
|
||||
reactions.append(generateStarsReaction())
|
||||
|
||||
Reference in New Issue
Block a user