From 22b467de2175378dbf761c254b0431e8a8b574c8 Mon Sep 17 00:00:00 2001 From: krille-chan Date: Sun, 24 Mar 2024 20:38:39 +0100 Subject: [PATCH] design: Make appbar in material you design for mobile mode --- lib/config/themes.dart | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/config/themes.dart b/lib/config/themes.dart index 06fbb5a60..7d84878fd 100644 --- a/lib/config/themes.dart +++ b/lib/config/themes.dart @@ -98,8 +98,11 @@ abstract class FluffyThemes { ), appBarTheme: AppBarTheme( toolbarHeight: FluffyThemes.isColumnMode(context) ? 72 : 56, - shadowColor: Colors.grey.withAlpha(64), - surfaceTintColor: colorScheme.background, + shadowColor: FluffyThemes.isColumnMode(context) + ? Colors.grey.withAlpha(64) + : null, + surfaceTintColor: + FluffyThemes.isColumnMode(context) ? colorScheme.background : null, systemOverlayStyle: SystemUiOverlayStyle( statusBarColor: Colors.transparent, statusBarIconBrightness: brightness.reversed,