From c16533ecff360c7c619cdbf71a6298cdec934fe7 Mon Sep 17 00:00:00 2001 From: ggurdin Date: Wed, 19 Jun 2024 13:21:29 -0400 Subject: [PATCH] set activeSpaceId to null after navigating to all chats --- lib/pages/chat_list/chat_list.dart | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/pages/chat_list/chat_list.dart b/lib/pages/chat_list/chat_list.dart index 7448982d5..389bcf477 100644 --- a/lib/pages/chat_list/chat_list.dart +++ b/lib/pages/chat_list/chat_list.dart @@ -166,6 +166,11 @@ class ChatListController extends State // Pangea# selectedRoomIds.clear(); activeFilter = getActiveFilterByDestination(i); + // #Pangea + if (activeFilter != ActiveFilter.spaces) { + setActiveSpace(null); + } + // Pangea# }); // #Pangea final bool clickedAllSpaces = (!AppConfig.separateChatTypes && i == 1) ||