set activeSpaceId to null after navigating to all chats
This commit is contained in:
parent
e7f1dcf6a3
commit
c16533ecff
1 changed files with 5 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue