From 21107e4a9a1f1efd8d7a953168616c9fed2940d3 Mon Sep 17 00:00:00 2001 From: Ilya Laktyushin Date: Mon, 1 Feb 2021 07:49:52 +0300 Subject: [PATCH] Remove debug code --- .../TelegramUI/Sources/TelegramRootController.swift | 8 -------- 1 file changed, 8 deletions(-) diff --git a/submodules/TelegramUI/Sources/TelegramRootController.swift b/submodules/TelegramUI/Sources/TelegramRootController.swift index 963d9be9f7..a85b441dfa 100644 --- a/submodules/TelegramUI/Sources/TelegramRootController.swift +++ b/submodules/TelegramUI/Sources/TelegramRootController.swift @@ -128,14 +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(backgroundColor: .white, textColor: .black, secondaryTextColor: .gray, accentColor: .blue, disabledColor: .lightGray, selectionColor: .blue, selectedCurrentTextColor: .white, secondarySelectionColor: .cyan), strings: self.context.sharedContext.currentPresentationData.with { $0 }.strings) - - let frame = CGRect(origin: CGPoint(x: 50.0, y: 100.0), size: CGSize(width: 300.0, height: 300.0)) - datePicker.updateLayout(size: frame.size, transition: .immediate) - self.rootTabController?.displayNode.addSubnode(datePicker) - } } public func updateRootControllers(showCallsTab: Bool) {