Merge branch 'braid/spaces-list-fix' into 'main'

fix: always show spaces bottom bar with group/DM separated

See merge request famedly/fluffychat!860
This commit is contained in:
Krille Fear 2022-05-05 08:51:47 +00:00
commit 84b3e2d02b

View File

@ -26,8 +26,8 @@ class ChatListView extends StatelessWidget {
stream: Matrix.of(context).onShareContentChanged.stream,
builder: (_, __) {
final selectMode = controller.selectMode;
final showSpaces =
controller.spaces.isNotEmpty && controller.selectedRoomIds.isEmpty;
final showSpaces = controller.spacesEntries.length > 1 &&
controller.selectedRoomIds.isEmpty;
return VWidgetGuard(
onSystemPop: (redirector) async {
final selMode = controller.selectMode;