Fix search activation

This commit is contained in:
Ilya Laktyushin
2020-09-28 09:47:02 +04:00
parent 6789c8b486
commit 9b87791908
2 changed files with 4 additions and 9 deletions

View File

@@ -431,10 +431,6 @@ final class ChatListContainerNode: ASDisplayNode, UIGestureRecognizerDelegate {
return self.currentItemNodeValue!.listNode
}
var mainItemNode: ChatListNode {
return self.itemNodes[.all]!.listNode
}
private let currentItemStateValue = Promise<(state: ChatListNodeState, filterId: Int32?)>()
var currentItemState: Signal<(state: ChatListNodeState, filterId: Int32?), NoError> {
return self.currentItemStateValue.get()