Various fixes

This commit is contained in:
Ilya Laktyushin
2023-12-20 11:58:03 +04:00
parent 4cca16b10d
commit e6ba681c03
5 changed files with 30 additions and 12 deletions

View File

@@ -1615,11 +1615,6 @@ public final class ChatListNode: ListView {
guard let self else {
return
}
Queue.mainQueue().after(0.6) { [weak self] in
if let self {
let _ = dismissServerProvidedSuggestion(account: self.context.account, suggestion: .xmasPremiumGift).startStandalone()
}
}
let controller = self.context.sharedContext.makePremiumGiftController(context: self.context)
self.push?(controller)
}, openActiveSessions: { [weak self] in