diff --git a/lib/features/chat/views/chat_page.dart b/lib/features/chat/views/chat_page.dart index 8b384d0..9466111 100644 --- a/lib/features/chat/views/chat_page.dart +++ b/lib/features/chat/views/chat_page.dart @@ -1023,7 +1023,7 @@ class _ChatPageState extends ConsumerState { elevation: Elevation.none, surfaceTintColor: Colors.transparent, shadowColor: Colors.transparent, - toolbarHeight: kToolbarHeight, + toolbarHeight: kToolbarHeight - 8, centerTitle: true, titleSpacing: 0.0, leading: _isSelectionMode diff --git a/lib/features/profile/views/app_customization_page.dart b/lib/features/profile/views/app_customization_page.dart index d61b472..bea2151 100644 --- a/lib/features/profile/views/app_customization_page.dart +++ b/lib/features/profile/views/app_customization_page.dart @@ -40,6 +40,7 @@ class AppCustomizationPage extends ConsumerWidget { appBar: AppBar( backgroundColor: context.conduitTheme.surfaceBackground, elevation: Elevation.none, + toolbarHeight: kToolbarHeight - 8, leading: IconButton( icon: Icon( UiUtils.platformIcon( diff --git a/lib/features/profile/views/profile_page.dart b/lib/features/profile/views/profile_page.dart index 355571b..f8a9aa9 100644 --- a/lib/features/profile/views/profile_page.dart +++ b/lib/features/profile/views/profile_page.dart @@ -40,6 +40,7 @@ class ProfilePage extends ConsumerWidget { appBar: AppBar( backgroundColor: context.conduitTheme.surfaceBackground, elevation: Elevation.none, + toolbarHeight: kToolbarHeight - 8, automaticallyImplyLeading: false, leading: IconButton( icon: Icon( @@ -52,7 +53,7 @@ class ProfilePage extends ConsumerWidget { onPressed: () => Navigator.of(context).maybePop(), tooltip: AppLocalizations.of(context)!.back, ), - toolbarHeight: kToolbarHeight, + // keep reduced height only once titleSpacing: 0.0, title: Text( AppLocalizations.of(context)!.you, @@ -100,6 +101,7 @@ class ProfilePage extends ConsumerWidget { appBar: AppBar( backgroundColor: context.conduitTheme.surfaceBackground, elevation: Elevation.none, + toolbarHeight: kToolbarHeight - 8, automaticallyImplyLeading: false, leading: IconButton( icon: Icon( @@ -132,6 +134,7 @@ class ProfilePage extends ConsumerWidget { appBar: AppBar( backgroundColor: context.conduitTheme.surfaceBackground, elevation: Elevation.none, + toolbarHeight: kToolbarHeight - 8, automaticallyImplyLeading: false, leading: IconButton( icon: Icon(