opt.: android only arm64 & ssh tab page

This commit is contained in:
lollipopkit
2023-12-02 00:21:07 +08:00
parent 90403b655b
commit fc0c9b3a49
14 changed files with 55 additions and 54 deletions

View File

@@ -37,10 +37,14 @@ Future<void> loadFontFile(String localPath) async {
void switchStatusBar({required bool hide}) {
if (hide) {
SystemChrome.setEnabledSystemUIMode(SystemUiMode.immersiveSticky,
overlays: []);
SystemChrome.setEnabledSystemUIMode(
SystemUiMode.immersiveSticky,
overlays: [],
);
} else {
SystemChrome.setEnabledSystemUIMode(SystemUiMode.edgeToEdge,
overlays: [SystemUiOverlay.top, SystemUiOverlay.bottom]);
SystemChrome.setEnabledSystemUIMode(
SystemUiMode.edgeToEdge,
overlays: [SystemUiOverlay.top, SystemUiOverlay.bottom],
);
}
}