Go to All Spaces view after clicking spaces button in navigation rail
This commit is contained in:
parent
afcb7fcf54
commit
4b8fe976f1
1 changed files with 7 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue