Various improvements

This commit is contained in:
Ilya Laktyushin
2025-08-22 21:46:07 +04:00
parent 75c773e694
commit a60a437206
56 changed files with 2051 additions and 485 deletions

View File

@@ -676,7 +676,7 @@ private final class StarsPurchaseScreenComponent: CombinedComponent {
case let .gift(peerId):
purpose = .starsGift(peerId: peerId, count: product.count, currency: currency, amount: amount)
default:
purpose = .stars(count: product.count, currency: currency, amount: amount)
purpose = .stars(count: product.count, currency: currency, amount: amount, peerId: nil)
}
let _ = (self.context.engine.payments.canPurchasePremium(purpose: purpose)