new: server tab process

This commit is contained in:
lollipopkit
2023-06-21 17:47:57 +08:00
parent 625bc280f0
commit 3a8e189dd7
14 changed files with 111 additions and 5 deletions

View File

@@ -168,9 +168,9 @@ void showSnippetDialog(
void switchStatusBar({required bool hide}) {
if (hide) {
SystemChrome.setEnabledSystemUIMode(SystemUiMode.immersiveSticky,
overlays: []);
overlays: []);
} else {
SystemChrome.setEnabledSystemUIMode(SystemUiMode.edgeToEdge,
overlays: [SystemUiOverlay.top, SystemUiOverlay.bottom]);
overlays: [SystemUiOverlay.top, SystemUiOverlay.bottom]);
}
}