Fix build

This commit is contained in:
Ilya Laktyushin 2024-08-09 21:03:23 +02:00
parent 18f2308971
commit ab4a155172

View File

@ -532,7 +532,7 @@ private final class SheetContent: CombinedComponent {
} else if let peerId = state?.botPeer?.id {
purpose = .transfer(peerId: peerId, requiredStars: invoice.totalAmount)
} else {
purpose = .generic(requiredStars: nil)
purpose = .generic
}
let purchaseController = accountContext.sharedContext.makeStarsPurchaseScreen(
context: accountContext,