From cb219c0b7bef8ea96fcae07aea705691fed41877 Mon Sep 17 00:00:00 2001 From: Ilya Laktyushin Date: Mon, 11 May 2020 05:09:26 +0400 Subject: [PATCH] Dismiss keyboard when presenting chat removal options --- submodules/ChatListUI/Sources/ChatListController.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/submodules/ChatListUI/Sources/ChatListController.swift b/submodules/ChatListUI/Sources/ChatListController.swift index c06717fe4b..672c892a9f 100644 --- a/submodules/ChatListUI/Sources/ChatListController.swift +++ b/submodules/ChatListUI/Sources/ChatListController.swift @@ -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 { return } + strongSelf.view.window?.endEditing(true) var canRemoveGlobally = false let limitsConfiguration = strongSelf.context.currentLimitsConfiguration.with { $0 }