chore: show spaces filter if user is in any spaces (#2028)

This commit is contained in:
ggurdin 2025-03-03 15:33:21 -05:00 committed by GitHub
parent d20e8918d1
commit 872db04582
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -196,8 +196,12 @@ class ChatListViewBody extends StatelessWidget {
ActiveFilter.allChats,
ActiveFilter.groups,
ActiveFilter.unread,
if (spaceDelegateCandidates.isNotEmpty &&
// #Pangea
// if (spaceDelegateCandidates.isNotEmpty &&
// !controller.widget.displayNavigationRail)
if (spaces.isNotEmpty &&
!controller.widget.displayNavigationRail)
// Pangea#
ActiveFilter.spaces,
]
.map(