mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-15 13:35:19 +00:00
Fix build
This commit is contained in:
parent
9927abd73a
commit
fb0479facd
@ -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