From 1f01c7f097793271ff8c027ea785de33a7f335cc Mon Sep 17 00:00:00 2001 From: wuqifeng <540416539@qq.com> Date: Sun, 10 Nov 2024 12:53:37 +0800 Subject: [PATCH] fix:修复部分设备(比如华为p30pro)状态栏未隐藏的问题 --- lib/app/splash_page.dart | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/lib/app/splash_page.dart b/lib/app/splash_page.dart index c328e58..52f880d 100644 --- a/lib/app/splash_page.dart +++ b/lib/app/splash_page.dart @@ -188,6 +188,7 @@ class _TransitionViewState extends State { } else { await SystemChrome.setPreferredOrientations([DeviceOrientation.landscapeLeft, DeviceOrientation.landscapeRight]); } + await SystemChrome.setEnabledSystemUIMode(SystemUiMode.immersiveSticky); } @override -- libgit2 0.22.2