mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Support input language restoration
This commit is contained in:
@@ -3251,6 +3251,7 @@ public final class ChatController: TelegramController, KeyShortcutResponder, Gal
|
||||
let scrollState = self.chatDisplayNode.historyNode.immediateScrollState()
|
||||
interfaceState = interfaceState.withUpdatedHistoryScrollState(scrollState)
|
||||
}
|
||||
interfaceState = interfaceState.withUpdatedInputLanguage(self.chatDisplayNode.currentTextInputLanguage)
|
||||
let _ = updatePeerChatInterfaceState(account: account, peerId: peerId, state: interfaceState).start()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user