chore: center activity page title
This commit is contained in:
parent
c44ab460c9
commit
9d6bd5af5f
2 changed files with 11 additions and 1 deletions
|
|
@ -46,7 +46,6 @@ import '../../widgets/matrix.dart';
|
|||
import 'package:fluffychat/utils/tor_stub.dart'
|
||||
if (dart.library.html) 'package:tor_detector_web/tor_detector_web.dart';
|
||||
|
||||
|
||||
enum PopupMenuAction {
|
||||
settings,
|
||||
invite,
|
||||
|
|
|
|||
|
|
@ -29,6 +29,17 @@ class ActivityPlannerPageAppBar extends StatelessWidget
|
|||
final theme = Theme.of(context);
|
||||
|
||||
return AppBar(
|
||||
leadingWidth: FluffyThemes.isColumnMode(context) ? 150.0 : null,
|
||||
leading: FluffyThemes.isColumnMode(context)
|
||||
? Row(
|
||||
children: [
|
||||
const SizedBox(width: 8.0),
|
||||
BackButton(
|
||||
onPressed: Navigator.of(context).pop,
|
||||
),
|
||||
],
|
||||
)
|
||||
: null,
|
||||
title: pageMode == PageMode.savedActivities
|
||||
? Row(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue