mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
feat: 全屏新增强制按重力旋转
This commit is contained in:
@@ -58,6 +58,10 @@ Future<void> autoScreen() async {
|
||||
]);
|
||||
}
|
||||
|
||||
Future<void> fullAutoModeForceSensor() async {
|
||||
await AutoOrientation.fullAutoMode(forceSensor: true);
|
||||
}
|
||||
|
||||
Future<void> hideStatusBar() async {
|
||||
await SystemChrome.setEnabledSystemUIMode(
|
||||
SystemUiMode.immersiveSticky,
|
||||
|
||||
Reference in New Issue
Block a user