chore: hide back button in space details page (#2448)
This commit is contained in:
parent
aa2450c3a5
commit
0dc3f13d99
1 changed files with 4 additions and 1 deletions
|
|
@ -6,6 +6,7 @@ import 'package:flutter_linkify/flutter_linkify.dart';
|
|||
import 'package:go_router/go_router.dart';
|
||||
import 'package:matrix/matrix.dart';
|
||||
|
||||
import 'package:fluffychat/config/themes.dart';
|
||||
import 'package:fluffychat/pages/chat_details/chat_details.dart';
|
||||
import 'package:fluffychat/pages/chat_details/participant_list_item.dart';
|
||||
import 'package:fluffychat/pangea/chat_settings/utils/download_chat.dart';
|
||||
|
|
@ -95,7 +96,9 @@ class PangeaChatDetailsView extends StatelessWidget {
|
|||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
leading: controller.widget.embeddedCloseButton ??
|
||||
const Center(child: BackButton()),
|
||||
(room.isSpace && FluffyThemes.isColumnMode(context)
|
||||
? const SizedBox()
|
||||
: const Center(child: BackButton())),
|
||||
elevation: theme.appBarTheme.elevation,
|
||||
title: ClassNameHeader(
|
||||
controller: controller,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue