mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Various fixes
This commit is contained in:
@@ -2317,6 +2317,10 @@ class ChatControllerNode: ASDisplayNode, UIScrollViewDelegate {
|
||||
self.view.window?.endEditing(true)
|
||||
}
|
||||
|
||||
func dismissTextInput() {
|
||||
self.view.window?.endEditing(true)
|
||||
}
|
||||
|
||||
func collapseInput() {
|
||||
if self.inputPanelContainerNode.expansionFraction != 0.0 {
|
||||
self.inputPanelContainerNode.collapse()
|
||||
@@ -2866,6 +2870,7 @@ class ChatControllerNode: ASDisplayNode, UIScrollViewDelegate {
|
||||
guard let strongSelf = self else {
|
||||
return
|
||||
}
|
||||
strongSelf.dismissTextInput()
|
||||
|
||||
var replaceImpl: ((ViewController) -> Void)?
|
||||
let controller = PremiumDemoScreen(context: strongSelf.context, subject: .premiumStickers, action: {
|
||||
|
||||
Reference in New Issue
Block a user