From 41353c93838c8115ac43ef6ca89c048266d1fca6 Mon Sep 17 00:00:00 2001 From: Vadim <44135514+vodemn@users.noreply.github.com> Date: Fri, 3 May 2024 11:26:16 +0200 Subject: [PATCH] fixed default scaffold background color --- lib/res/theme.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/res/theme.dart b/lib/res/theme.dart index 52e0e92..e787901 100644 --- a/lib/res/theme.dart +++ b/lib/res/theme.dart @@ -30,7 +30,7 @@ ThemeData themeFrom(Color primaryColor, Brightness brightness) { colorScheme: scheme, appBarTheme: AppBarTheme( elevation: 4, - color: scheme.surface, + color: scheme.background, surfaceTintColor: scheme.surfaceTint, ), cardTheme: CardTheme( @@ -58,7 +58,7 @@ ThemeData themeFrom(Color primaryColor, Brightness brightness) { iconColor: scheme.onSurface, textColor: scheme.onSurface, ), - scaffoldBackgroundColor: scheme.surface, + scaffoldBackgroundColor: scheme.background, ); return theme.copyWith( listTileTheme: ListTileThemeData(