Skip to content

Commit 3fe4720

Browse files
laktyushinIsaac
authored andcommitted
Fix build
(cherry picked from commit fb0479f)
1 parent a47dd6f commit 3fe4720

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

submodules/TelegramUI/Components/PeerInfo/PeerInfoScreen/Sources/PeerInfoScreen.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4912,11 +4912,11 @@ final class PeerInfoScreenNode: ViewControllerTracingNode, PeerInfoScreenNodePro
49124912
}
49134913
return profileGifts.upgradeStarGift(formId: formId, reference: reference, keepOriginalInfo: keepOriginalInfo)
49144914
},
4915-
buyGift: { [weak profileGifts] slug, peerId in
4915+
buyGift: { [weak profileGifts] slug, peerId, price in
49164916
guard let profileGifts else {
49174917
return .never()
49184918
}
4919-
return profileGifts.buyStarGift(slug: slug, peerId: peerId)
4919+
return profileGifts.buyStarGift(slug: slug, peerId: peerId, price: price)
49204920
},
49214921
shareStory: { [weak self] uniqueGift in
49224922
guard let self, let controller = self.controller else {

0 commit comments

Comments
 (0)