diff --git a/lib/main.dart b/lib/main.dart index cb6edca2f..142af3d73 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -162,6 +162,10 @@ class MyApp extends StatelessWidget { ? darkColorScheme : lightColorScheme, useMaterial3: true, + navigationBarTheme: NavigationBarThemeData( + surfaceTintColor: (lightDynamic != null && isDynamicColor) + ? lightColorScheme.surfaceTint + : lightColorScheme.surfaceContainer), snackBarTheme: SnackBarThemeData( actionTextColor: lightColorScheme.primary, backgroundColor: lightColorScheme.secondaryContainer, @@ -183,6 +187,10 @@ class MyApp extends StatelessWidget { ? lightColorScheme : darkColorScheme, useMaterial3: true, + navigationBarTheme: NavigationBarThemeData( + surfaceTintColor: (darkDynamic != null && isDynamicColor) + ? darkColorScheme.surfaceTint + : darkColorScheme.surfaceContainer), snackBarTheme: SnackBarThemeData( actionTextColor: darkColorScheme.primary, backgroundColor: darkColorScheme.secondaryContainer,