mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-15 13:35:19 +00:00
Fix build
(cherry picked from commit fb0479facdf066f09cd93253e14bcda1c0e213fb)
This commit is contained in:
parent
a47dd6ff9e
commit
3fe4720668
@ -4912,11 +4912,11 @@ final class PeerInfoScreenNode: ViewControllerTracingNode, PeerInfoScreenNodePro
|
||||
}
|
||||
return profileGifts.upgradeStarGift(formId: formId, reference: reference, keepOriginalInfo: keepOriginalInfo)
|
||||
},
|
||||
buyGift: { [weak profileGifts] slug, peerId in
|
||||
buyGift: { [weak profileGifts] slug, peerId, price in
|
||||
guard let profileGifts else {
|
||||
return .never()
|
||||
}
|
||||
return profileGifts.buyStarGift(slug: slug, peerId: peerId)
|
||||
return profileGifts.buyStarGift(slug: slug, peerId: peerId, price: price)
|
||||
},
|
||||
shareStory: { [weak self] uniqueGift in
|
||||
guard let self, let controller = self.controller else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user