mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Various fixes
This commit is contained in:
@@ -574,15 +574,7 @@ func updateChatPresentationInterfaceStateImpl(
|
||||
controller.updateVisibility()
|
||||
}
|
||||
}
|
||||
|
||||
if let currentMenuWebAppController = selfController.currentMenuWebAppController, !selfController.presentationInterfaceState.showWebView {
|
||||
selfController.currentMenuWebAppController = nil
|
||||
if let currentMenuWebAppController = currentMenuWebAppController as? AttachmentController {
|
||||
currentMenuWebAppController.ensureUnfocused = false
|
||||
}
|
||||
currentMenuWebAppController.dismiss(animated: true, completion: nil)
|
||||
}
|
||||
|
||||
|
||||
selfController.presentationInterfaceStatePromise.set(selfController.presentationInterfaceState)
|
||||
|
||||
if case .tag = selfController.chatDisplayNode.historyNode.tag {
|
||||
|
||||
Reference in New Issue
Block a user