Add more mini app open buttons

This commit is contained in:
Ilya Laktyushin
2024-11-19 20:45:21 +04:00
parent 522be0ffd4
commit 1c96740866
18 changed files with 102 additions and 40 deletions

View File

@@ -1256,6 +1256,12 @@ public class ChatListControllerImpl: TelegramBaseController, ChatListController
}
}
self.chatListDisplayNode.dismissSearch = { [weak self] in
if let self {
self.deactivateSearch(animated: true)
}
}
self.chatListDisplayNode.requestOpenRecentPeerOptions = { [weak self] peer in
if let strongSelf = self {
strongSelf.view.window?.endEditing(true)