mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-21 15:00:40 +00:00
reverted theme changes
This commit is contained in:
parent
231ef0f39c
commit
d024dd278b
2 changed files with 3 additions and 2 deletions
|
@ -30,7 +30,7 @@ ThemeData themeFrom(Color primaryColor, Brightness brightness) {
|
|||
colorScheme: scheme,
|
||||
appBarTheme: AppBarTheme(
|
||||
elevation: 4,
|
||||
color: scheme.background,
|
||||
color: scheme.surface,
|
||||
surfaceTintColor: scheme.surfaceTint,
|
||||
),
|
||||
cardTheme: CardTheme(
|
||||
|
@ -58,7 +58,7 @@ ThemeData themeFrom(Color primaryColor, Brightness brightness) {
|
|||
iconColor: scheme.onSurface,
|
||||
textColor: scheme.onSurface,
|
||||
),
|
||||
scaffoldBackgroundColor: scheme.background,
|
||||
scaffoldBackgroundColor: scheme.surface,
|
||||
);
|
||||
return theme.copyWith(
|
||||
listTileTheme: ListTileThemeData(
|
||||
|
|
|
@ -68,6 +68,7 @@ class TimerScreenState extends State<TimerScreen> with TickerProviderStateMixin
|
|||
listenWhen: (previous, current) => previous.runtimeType != current.runtimeType,
|
||||
listener: (context, state) => _updateAnimations(state),
|
||||
child: Scaffold(
|
||||
backgroundColor: Theme.of(context).colorScheme.background,
|
||||
body: Center(
|
||||
child: Column(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
|
|
Loading…
Reference in a new issue