Closes #1050

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-08-20 22:04:39 +08:00
parent e096ebcbba
commit 76f1d0129b
171 changed files with 2190 additions and 2063 deletions

View File

@@ -64,13 +64,23 @@ Future<void> fullAutoModeForceSensor() async {
}
Future<void> hideStatusBar() async {
if (!_showStatusBar) {
return;
}
_showStatusBar = false;
await SystemChrome.setEnabledSystemUIMode(
SystemUiMode.immersiveSticky,
);
}
bool _showStatusBar = true;
//退出全屏显示
Future<void> showStatusBar() async {
if (_showStatusBar) {
return;
}
_showStatusBar = true;
dynamic document;
late SystemUiMode mode = SystemUiMode.edgeToEdge;
try {