Various fixes

This commit is contained in:
Ilya Laktyushin
2024-09-25 20:37:17 +04:00
parent 2ea141ca1c
commit d0fe102210
8 changed files with 84 additions and 31 deletions

View File

@@ -1011,14 +1011,15 @@ final class GiftOptionsScreenComponent: Component {
}
}
public final class GiftOptionsScreen: ViewControllerComponentContainer, GiftOptionsScreenProtocol {
open class GiftOptionsScreen: ViewControllerComponentContainer, GiftOptionsScreenProtocol {
private let context: AccountContext
public init(
context: AccountContext,
starsContext: StarsContext,
peerId: EnginePeer.Id,
premiumOptions: [CachedPremiumGiftOption]
premiumOptions: [CachedPremiumGiftOption],
completion: @escaping () -> Void = {}
) {
self.context = context