Skip to content

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

chore: super resolution settings page payout

Predidit17f62c3f0ea6
diff --git a/lib/pages/settings/super_resolution_settings.dart b/lib/pages/settings/super_resolution_settings.dart
index b7b79183..a7ca1197 100644
--- a/lib/pages/settings/super_resolution_settings.dart
+++ b/lib/pages/settings/super_resolution_settings.dart
@@ -37,23 +37,6 @@ class _SuperResolutionSettingsState extends State<SuperResolutionSettings> {
body: SettingsList(
maxWidth: 1000,
sections: [
- SettingsSection(
- title: const Text('默认行为'),
- tiles: [
- SettingsTile.switchTile(
- title: const Text('关闭提示'),
- description:
- const Text('关闭每次启用超分辨率时的提示'),
- initialValue: promptOnEnable,
- onToggle: (value) async {
- promptOnEnable = value ?? false;
- await setting.put(SettingBoxKey.superResolutionWarn, promptOnEnable);
- if (mounted) setState(() {});
- },
- ),
- ],
- ),
-
SettingsSection(
title: const Text(
'超分辨率需要启用硬件解码, 若启用硬件解码后仍然不生效, 尝试切换硬件解码器为 auto-copy'),
@@ -104,6 +87,22 @@ class _SuperResolutionSettingsState extends State<SuperResolutionSettings> {
},
)
]),
+ SettingsSection(
+ title: const Text('默认行为'),
+ tiles: [
+ SettingsTile.switchTile(
+ title: const Text('关闭提示'),
+ description: const Text('关闭每次启用超分辨率时的提示'),
+ initialValue: promptOnEnable,
+ onToggle: (value) async {
+ promptOnEnable = value ?? false;
+ await setting.put(
+ SettingBoxKey.superResolutionWarn, promptOnEnable);
+ if (mounted) setState(() {});
+ },
+ ),
+ ],
+ ),
],
),
);