Skip to content

基于自定义规则的番剧采集APP,支持流媒体在线观看,支持弹幕,支持实时超分辨率。

add systemUI overflow

Prediditc6c3efc66651
diff --git a/lib/main.dart b/lib/main.dart
index a0ae7781..569eb355 100644
--- a/lib/main.dart
+++ b/lib/main.dart
@@ -29,16 +29,15 @@ void main() async {
await windowManager.focus();
});
}
- // 暂缓, video_page布局存在问题
- // if (Platform.isAndroid || Platform.isIOS) {
- // // 小白条、导航栏沉浸
- // SystemChrome.setEnabledSystemUIMode(SystemUiMode.edgeToEdge);
- // SystemChrome.setSystemUIOverlayStyle(const SystemUiOverlayStyle(
- // systemNavigationBarColor: Colors.transparent,
- // systemNavigationBarDividerColor: Colors.transparent,
- // statusBarColor: Colors.transparent,
- // ));
- // }
+ if (Platform.isAndroid || Platform.isIOS) {
+ // 小白条、导航栏沉浸
+ SystemChrome.setEnabledSystemUIMode(SystemUiMode.edgeToEdge);
+ SystemChrome.setSystemUIOverlayStyle(const SystemUiOverlayStyle(
+ systemNavigationBarColor: Colors.transparent,
+ systemNavigationBarDividerColor: Colors.transparent,
+ statusBarColor: Colors.transparent,
+ ));
+ }
MediaKit.ensureInitialized();
await Hive.initFlutter('${(await getApplicationSupportDirectory()).path}/hive');
await GStorage.init();