mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-16 19:30:29 +00:00
Dismiss keyboard when presenting chat removal options
This commit is contained in:
parent
532ccd1031
commit
cb219c0b7b
@ -2043,6 +2043,7 @@ public class ChatListControllerImpl: TelegramBaseController, ChatListController,
|
|||||||
guard let strongSelf = self, let peer = peer, let chatPeer = peer.peers[peer.peerId], let mainPeer = peer.chatMainPeer else {
|
guard let strongSelf = self, let peer = peer, let chatPeer = peer.peers[peer.peerId], let mainPeer = peer.chatMainPeer else {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
strongSelf.view.window?.endEditing(true)
|
||||||
|
|
||||||
var canRemoveGlobally = false
|
var canRemoveGlobally = false
|
||||||
let limitsConfiguration = strongSelf.context.currentLimitsConfiguration.with { $0 }
|
let limitsConfiguration = strongSelf.context.currentLimitsConfiguration.with { $0 }
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user