mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 14:45:21 +00:00
Various improvements
This commit is contained in:
@@ -15,6 +15,7 @@ import AppBundle
|
||||
import DatePickerNode
|
||||
import DebugSettingsUI
|
||||
import TabBarUI
|
||||
import PremiumUI
|
||||
|
||||
public final class TelegramRootController: NavigationController {
|
||||
private let context: AccountContext
|
||||
@@ -129,8 +130,12 @@ public final class TelegramRootController: NavigationController {
|
||||
self.accountSettingsController = accountSettingsController
|
||||
self.rootTabController = tabBarController
|
||||
self.pushViewController(tabBarController, animated: false)
|
||||
|
||||
let _ = getUserLimits(postbox: self.context.account.postbox).start()
|
||||
|
||||
Queue.mainQueue().after(1.0) {
|
||||
// let screen = PremiumLimitScreen(context: self.context, subject: .pins, action: {})
|
||||
let screen = PremiumIntroScreen(context: self.context, action: {})
|
||||
self.chatListController?.push(screen)
|
||||
}
|
||||
}
|
||||
|
||||
public func updateRootControllers(showCallsTab: Bool) {
|
||||
|
||||
Reference in New Issue
Block a user