Skip to content

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

Hide "default action" section on non-desktop platforms as there are no other options for other platforms now

garylkze9acb7e3d72a
diff --git a/lib/pages/about/about_page.dart b/lib/pages/about/about_page.dart
index a42877a1..fcb9cd52 100644
--- a/lib/pages/about/about_page.dart
+++ b/lib/pages/about/about_page.dart
@@ -188,10 +188,11 @@ class _AboutPageState extends State<AboutPage> {
),
],
),
- SettingsSection(
- title: const Text('默认行为'),
- tiles: [
- if (Utils.isDesktop())
+ if (Utils.isDesktop()) // 之后如果有非桌面平台的新选项可以移除
+ SettingsSection(
+ title: const Text('默认行为'),
+ tiles: [
+ // if (Utils.isDesktop())
SettingsTile.navigation(
title: const Text('关闭时'),
value: Text(exitBehaviorTitles[exitBehavior]),
@@ -218,8 +219,8 @@ class _AboutPageState extends State<AboutPage> {
});
},
),
- ],
- ),
+ ],
+ ),
SettingsSection(
tiles: [
SettingsTile.navigation(