Remove debug code

This commit is contained in:
Ilya Laktyushin 2021-02-03 19:28:16 +04:00
parent 22e319adaa
commit 33ad1f5cf5

View File

@ -128,13 +128,6 @@ public final class TelegramRootController: NavigationController {
self.accountSettingsController = accountSettingsController
self.rootTabController = tabBarController
self.pushViewController(tabBarController, animated: false)
Queue.mainQueue().after(1.0) {
let datepicker = DatePickerNode(theme: DatePickerTheme(theme: self.presentationData.theme), strings: self.presentationData.strings)
datepicker.frame = CGRect(origin: CGPoint(x: 0.0, y: 60.0), size: CGSize(width: 390.0, height: 390.0))
datepicker.updateLayout(size: datepicker.frame.size, transition: .immediate)
self.rootTabController?.displayNode.addSubnode(datepicker)
}
}
public func updateRootControllers(showCallsTab: Bool) {