Merge pull request #3205 from pangeachat/3169-activity-planner-title-not-centered

chore: center activity page title
This commit is contained in:
ggurdin 2025-06-23 16:18:10 -04:00 committed by GitHub
commit 239e08a990
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 11 additions and 1 deletions

View file

@ -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,

View file

@ -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,