We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fd14c1 commit f696cfbCopy full SHA for f696cfb
submodules/TelegramUI/Components/Gifts/GiftOptionsScreen/Sources/GiftOptionsScreen.swift
@@ -450,12 +450,7 @@ final class GiftOptionsScreenComponent: Component {
450
mainController = controller
451
}
452
if case let .generic(gift) = gift {
453
- var forceStore = !"".isEmpty
454
- #if DEBUG
455
- forceStore = true
456
- #endif
457
-
458
- if let availability = gift.availability, availability.remains == 0 || (availability.resale > 0 && forceStore) {
+ if let availability = gift.availability, availability.remains == 0 || (availability.resale > 0) {
459
if availability.resale > 0 {
460
let storeController = component.context.sharedContext.makeGiftStoreController(
461
context: component.context,
0 commit comments