diff --git a/cyberwow/android/app/src/main/res/values/styles.xml b/cyberwow/android/app/src/main/res/values/styles.xml index 00fa441..bf56a72 100644 --- a/cyberwow/android/app/src/main/res/values/styles.xml +++ b/cyberwow/android/app/src/main/res/values/styles.xml @@ -1,8 +1,8 @@ - diff --git a/cyberwow/lib/main.dart b/cyberwow/lib/main.dart index ce33f3d..5e338c7 100644 --- a/cyberwow/lib/main.dart +++ b/cyberwow/lib/main.dart @@ -50,6 +50,9 @@ void main() { class CyberWOW_App extends StatelessWidget { @override Widget build(BuildContext context) { + SystemChrome.setEnabledSystemUIOverlays([SystemUiOverlay.bottom]); + SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle.dark); + return MaterialApp ( title: 'CyberWOW', @@ -179,11 +182,6 @@ class _CyberWOW_PageState extends State with WidgetsBindingObserv WidgetsBinding.instance.addObserver(this); - SystemChrome.setEnabledSystemUIOverlays([SystemUiOverlay.bottom]); - SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle.dark.copyWith( - statusBarColor: Colors.black, - )); - final BlankState _blankState = BlankState(_setState, _getNotification, _isExiting); _state = _blankState;