mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Fix
This commit is contained in:
parent
7fd14c1427
commit
f696cfb915
1 changed files with 1 additions and 6 deletions
|
|
@ -450,12 +450,7 @@ final class GiftOptionsScreenComponent: Component {
|
|||
mainController = controller
|
||||
}
|
||||
if case let .generic(gift) = gift {
|
||||
var forceStore = !"".isEmpty
|
||||
#if DEBUG
|
||||
forceStore = true
|
||||
#endif
|
||||
|
||||
if let availability = gift.availability, availability.remains == 0 || (availability.resale > 0 && forceStore) {
|
||||
if let availability = gift.availability, availability.remains == 0 || (availability.resale > 0) {
|
||||
if availability.resale > 0 {
|
||||
let storeController = component.context.sharedContext.makeGiftStoreController(
|
||||
context: component.context,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue