mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Fix build
This commit is contained in:
parent
9927abd73a
commit
fb0479facd
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue