Commit 1f01c7f097793271ff8c027ea785de33a7f335cc

Authored by 吴启风
1 parent edee10b3

fix:修复部分设备(比如华为p30pro)状态栏未隐藏的问题

Showing 1 changed file with 1 additions and 0 deletions
lib/app/splash_page.dart
... ... @@ -188,6 +188,7 @@ class _TransitionViewState extends State<TransitionView> {
188 188 } else {
189 189 await SystemChrome.setPreferredOrientations([DeviceOrientation.landscapeLeft, DeviceOrientation.landscapeRight]);
190 190 }
  191 + await SystemChrome.setEnabledSystemUIMode(SystemUiMode.immersiveSticky);
191 192 }
192 193  
193 194 @override
... ...