mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Conference
This commit is contained in:
@@ -1977,6 +1977,22 @@ private func extractAccountManagerState(records: AccountRecordsView<TelegramAcco
|
||||
self.maybeCheckForUpdates()
|
||||
|
||||
SharedDisplayLinkDriver.shared.updateForegroundState(self.isActiveValue)
|
||||
|
||||
func cancelWindowPanGestures(view: UIView) {
|
||||
if let gestureRecognizers = view.gestureRecognizers {
|
||||
for recognizer in gestureRecognizers {
|
||||
if let recognizer = recognizer as? WindowPanRecognizer {
|
||||
recognizer.cancel()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
for subview in view.subviews {
|
||||
cancelWindowPanGestures(view: subview)
|
||||
}
|
||||
}
|
||||
|
||||
//cancelWindowPanGestures(view: self.mainWindow.hostView.containerView)
|
||||
}
|
||||
|
||||
func applicationWillTerminate(_ application: UIApplication) {
|
||||
|
||||
Reference in New Issue
Block a user