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 87baa1b commit a8d4de1Copy full SHA for a8d4de1
submodules/TelegramCore/Sources/TelegramEngine/Payments/StarGiftsAuctions.swift
@@ -78,7 +78,11 @@ public final class GiftAuctionContext {
78
public let gift: StarGift
79
80
public var isActive: Bool {
81
- return myState?.bidAmount != nil
+ if case .finished = auctionState {
82
+ return false
83
+ } else {
84
+ return myState?.bidAmount != nil
85
+ }
86
}
87
88
private let disposable = MetaDisposable()
0 commit comments