mirror of
https://github.com/haorendashu/nowser.git
synced 2025-12-18 02:04:18 +01:00
change bottom status bar color
This commit is contained in:
@@ -95,6 +95,13 @@ Future<void> main() async {
|
||||
databaseFactory = databaseFactoryFfi;
|
||||
}
|
||||
|
||||
try {
|
||||
await SystemChrome.setEnabledSystemUIMode(SystemUiMode.manual,
|
||||
overlays: [SystemUiOverlay.top, SystemUiOverlay.bottom]);
|
||||
} catch (e) {
|
||||
print(e);
|
||||
}
|
||||
|
||||
await doInit();
|
||||
|
||||
mediaDataCache = MediaDataCache();
|
||||
@@ -162,6 +169,10 @@ class _MyApp extends State<MyApp> {
|
||||
RouterPath.AUTH_LOGS: (context) => AuthLogsRouter(),
|
||||
};
|
||||
|
||||
SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle(
|
||||
systemNavigationBarColor: lightTheme.scaffoldBackgroundColor,
|
||||
));
|
||||
|
||||
return MultiProvider(
|
||||
providers: [
|
||||
ListenableProvider<WebProvider>.value(
|
||||
|
||||
Reference in New Issue
Block a user