Go to All Spaces view after clicking spaces button in navigation rail

This commit is contained in:
ggurdin 2023-10-24 15:12:14 -04:00
parent afcb7fcf54
commit 4b8fe976f1

View file

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