Fix build

(cherry picked from commit fb0479facdf066f09cd93253e14bcda1c0e213fb)
This commit is contained in:
Ilya Laktyushin 2025-05-13 16:15:08 +04:00 committed by Isaac
parent a47dd6ff9e
commit 3fe4720668

View File

@ -4912,11 +4912,11 @@ final class PeerInfoScreenNode: ViewControllerTracingNode, PeerInfoScreenNodePro
} }
return profileGifts.upgradeStarGift(formId: formId, reference: reference, keepOriginalInfo: keepOriginalInfo) 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 { guard let profileGifts else {
return .never() return .never()
} }
return profileGifts.buyStarGift(slug: slug, peerId: peerId) return profileGifts.buyStarGift(slug: slug, peerId: peerId, price: price)
}, },
shareStory: { [weak self] uniqueGift in shareStory: { [weak self] uniqueGift in
guard let self, let controller = self.controller else { guard let self, let controller = self.controller else {