Folder improvements

This commit is contained in:
Ali
2020-03-19 20:06:04 +04:00
parent c191cb8d62
commit 46ea78b6c3
4 changed files with 54 additions and 86 deletions

View File

@@ -161,8 +161,11 @@ final class ContactMultiselectionControllerNode: ASDisplayNode {
selectionState = state
return state
}
case .chats:
break
case let .chats(chatsNode):
selectionState = ContactListNodeGroupSelectionState()
for peerId in chatsNode.currentState.selectedPeerIds {
selectionState = selectionState?.withToggledPeerId(.peer(peerId))
}
}
var searchChatList = false
var searchGroups = false