Folder improvements

This commit is contained in:
Ali
2023-04-04 17:18:42 +04:00
parent 515ef8cfc5
commit 0e1dd66b04
6 changed files with 345 additions and 257 deletions

View File

@@ -2815,6 +2815,9 @@ public class ChatListControllerImpl: TelegramBaseController, ChatListController
return
}
if self.chatListDisplayNode.inlineStackContainerNode != nil {
self.setInlineChatList(location: nil)
}
if self.chatListDisplayNode.mainContainerNode.currentItemNode.chatListFilter?.id != folderId {
self.chatListDisplayNode.mainContainerNode.switchToFilter(id: .filter(folderId), completion: {
completion()