set activeSpaceId to null after navigating to all chats

pull/1186/head
ggurdin 1 year ago
parent e7f1dcf6a3
commit c16533ecff

@ -166,6 +166,11 @@ class ChatListController extends State<ChatList>
// Pangea#
selectedRoomIds.clear();
activeFilter = getActiveFilterByDestination(i);
// #Pangea
if (activeFilter != ActiveFilter.spaces) {
setActiveSpace(null);
}
// Pangea#
});
// #Pangea
final bool clickedAllSpaces = (!AppConfig.separateChatTypes && i == 1) ||

Loading…
Cancel
Save