mirror of
https://github.com/wownero/cyberwow.git
synced 2026-12-03 13:43:59 +01:00
support android dark theme
This commit is contained in:
@@ -54,6 +54,7 @@ class CyberWOW_App extends StatelessWidget {
|
||||
(
|
||||
title: 'CyberWOW',
|
||||
theme: config.c.theme,
|
||||
darkTheme: config.c.theme,
|
||||
home: CyberWOW_Page(title: 'CyberWOW'),
|
||||
);
|
||||
}
|
||||
@@ -179,6 +180,9 @@ class _CyberWOW_PageState extends State<CyberWOW_Page> 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;
|
||||
|
||||
Reference in New Issue
Block a user