Channel boost

This commit is contained in:
Ilya Laktyushin
2023-09-13 17:21:53 +04:00
parent 9de5689328
commit f22e9176f2
31 changed files with 1674 additions and 486 deletions

View File

@@ -218,6 +218,11 @@ public final class TelegramRootController: NavigationController, TelegramRootCon
self.accountSettingsController = accountSettingsController
self.rootTabController = tabBarController
self.pushViewController(tabBarController, animated: false)
// Queue.mainQueue().after(0.5) {
// let controller = self.context.sharedContext.makePremiumLimitController(context: self.context, subject: .storiesChannelBoost(title: "MYChannel", level: 0, currentLevelBoosts: 0, nextLevelBoosts: 1, link: "t.me/mychannel?boost"), count: 0, forceDark: true, cancel: {}, action: {})
// chatListController.present(controller, in: .window(.root))
// }
}
public func updateRootControllers(showCallsTab: Bool) {