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

- always show the spaces bottom bar in case group/DMs are separated

Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
This commit is contained in:
TheOneWithTheBraid 2022-05-05 09:47:12 +02:00
parent beb3ae9be3
commit cc5e8b8684

View File

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