Various Fixes

This commit is contained in:
Ilya Laktyushin
2021-11-29 19:13:33 +04:00
parent ba15eaed5c
commit 362e43a2d2
4 changed files with 17 additions and 7 deletions

View File

@@ -2048,8 +2048,7 @@ class ChatTextInputPanelNode: ChatInputPanelNode, ASEditableTextNodeDelegate {
if let textInputNode = self.textInputNode, let presentationInterfaceState = self.presentationInterfaceState {
if case .format = self.inputMenu.state {
self.inputMenu.deactivate()
UIMenuController.shared.update()
self.inputMenu.hide()
}
let baseFontSize = max(minInputFontSize, presentationInterfaceState.fontSize.baseDisplaySize)