From 52f8ffe4e4c69073a0612505f268418f3eba3cfd Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Mon, 6 Jan 2025 21:57:50 +0800 Subject: [PATCH] :lipstick: Update the app bar color when in transparent mode --- lib/theme.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/theme.dart b/lib/theme.dart index 287d65e..0354f65 100644 --- a/lib/theme.dart +++ b/lib/theme.dart @@ -48,7 +48,7 @@ Future createAppTheme( appBarTheme: AppBarTheme( centerTitle: true, elevation: hasAppBarBlurry ? 0 : null, - backgroundColor: hasAppBarBlurry ? colorScheme.primary.withAlpha(200) : colorScheme.primary, + backgroundColor: hasAppBarBlurry ? colorScheme.primary.withOpacity(0.3) : colorScheme.primary, foregroundColor: hasAppBarBlurry ? colorScheme.onSurface : colorScheme.onPrimary, ), scaffoldBackgroundColor: Colors.transparent,