mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Fix build
This commit is contained in:
parent
5761761ee5
commit
46aa2bdda2
@ -2566,7 +2566,7 @@ public class GiftViewScreen: ViewControllerComponentContainer {
|
||||
|
||||
let giftsPeerId: EnginePeer.Id?
|
||||
let text: String
|
||||
if case let .peer(peerId, _) = arguments.reference, peerId == Namespaces.Peer.CloudChannel {
|
||||
if case let .peer(peerId, _) = arguments.reference, peerId.namespace == Namespaces.Peer.CloudChannel {
|
||||
giftsPeerId = peerId
|
||||
text = added ? presentationData.strings.Gift_Displayed_ChannelText : presentationData.strings.Gift_Hidden_ChannelText
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user