mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-02 00:58:19 +08:00
opt: navigationbar color
This commit is contained in:
@@ -162,6 +162,10 @@ class MyApp extends StatelessWidget {
|
|||||||
? darkColorScheme
|
? darkColorScheme
|
||||||
: lightColorScheme,
|
: lightColorScheme,
|
||||||
useMaterial3: true,
|
useMaterial3: true,
|
||||||
|
navigationBarTheme: NavigationBarThemeData(
|
||||||
|
surfaceTintColor: (lightDynamic != null && isDynamicColor)
|
||||||
|
? lightColorScheme.surfaceTint
|
||||||
|
: lightColorScheme.surfaceContainer),
|
||||||
snackBarTheme: SnackBarThemeData(
|
snackBarTheme: SnackBarThemeData(
|
||||||
actionTextColor: lightColorScheme.primary,
|
actionTextColor: lightColorScheme.primary,
|
||||||
backgroundColor: lightColorScheme.secondaryContainer,
|
backgroundColor: lightColorScheme.secondaryContainer,
|
||||||
@@ -183,6 +187,10 @@ class MyApp extends StatelessWidget {
|
|||||||
? lightColorScheme
|
? lightColorScheme
|
||||||
: darkColorScheme,
|
: darkColorScheme,
|
||||||
useMaterial3: true,
|
useMaterial3: true,
|
||||||
|
navigationBarTheme: NavigationBarThemeData(
|
||||||
|
surfaceTintColor: (darkDynamic != null && isDynamicColor)
|
||||||
|
? darkColorScheme.surfaceTint
|
||||||
|
: darkColorScheme.surfaceContainer),
|
||||||
snackBarTheme: SnackBarThemeData(
|
snackBarTheme: SnackBarThemeData(
|
||||||
actionTextColor: darkColorScheme.primary,
|
actionTextColor: darkColorScheme.primary,
|
||||||
backgroundColor: darkColorScheme.secondaryContainer,
|
backgroundColor: darkColorScheme.secondaryContainer,
|
||||||
|
|||||||
Reference in New Issue
Block a user