Skip to content

Commit e18b673

Browse files
committed
Merge commit '21107e4a9a1f1efd8d7a953168616c9fed2940d3' into beta
2 parents 476f1f8 + 21107e4 commit e18b673

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

‎submodules/TelegramUI/Sources/TelegramRootController.swift

-8
Original file line numberDiff line numberDiff line change
@@ -128,14 +128,6 @@ public final class TelegramRootController: NavigationController {
128128
self.accountSettingsController = accountSettingsController
129129
self.rootTabController = tabBarController
130130
self.pushViewController(tabBarController, animated: false)
131-
132-
Queue.mainQueue().after(1.0) {
133-
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)
134-
135-
let frame = CGRect(origin: CGPoint(x: 50.0, y: 100.0), size: CGSize(width: 300.0, height: 300.0))
136-
datePicker.updateLayout(size: frame.size, transition: .immediate)
137-
self.rootTabController?.displayNode.addSubnode(datePicker)
138-
}
139131
}
140132

141133
public func updateRootControllers(showCallsTab: Bool) {

0 commit comments

Comments
 (0)