mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Add more mini app open buttons
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user