mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-04 00:59:50 +08:00
opt: navigationbar color
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user