fix: 点进推荐或手动播放产生全屏故障、状态栏跳动;多层推荐性能

This commit is contained in:
orz12
2024-02-24 12:51:13 +08:00
parent 23a4bf1706
commit bcf71e559a
4 changed files with 76 additions and 105 deletions

View File

@@ -53,14 +53,14 @@ Future<void> autoScreen() async {
]);
}
Future<void> enterFullScreen() async {
Future<void> hideStatusBar() async {
await SystemChrome.setEnabledSystemUIMode(
SystemUiMode.immersiveSticky,
);
}
//退出全屏显示
Future<void> exitFullScreen() async {
Future<void> showStatusBar() async {
dynamic document;
late SystemUiMode mode = SystemUiMode.edgeToEdge;
try {