Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-05-01 10:37:31 +08:00
parent 91a14d8286
commit d27f5f315c
71 changed files with 94 additions and 1561 deletions

View File

@@ -134,11 +134,11 @@ List<SettingsModel> get playSettings => [
} catch (_) {}
},
),
const SwitchModel(
SwitchModel(
title: '启用键盘控制',
leading: Icon(Icons.keyboard_alt_outlined),
leading: const Icon(Icons.keyboard_alt_outlined),
setKey: SettingBoxKey.keyboardControl,
defaultVal: true,
defaultVal: PlatformUtils.isDesktop,
),
NormalModel(
title: 'SuperChat (醒目留言) 显示类型',
@@ -173,13 +173,6 @@ List<SettingsModel> get playSettings => [
setKey: SettingBoxKey.enableAutoExit,
defaultVal: true,
),
const SwitchModel(
title: '延长播放控件显示时间',
subtitle: '开启后延长至30秒便于屏幕阅读器滑动切换控件焦点',
leading: Icon(Icons.timer_outlined),
setKey: SettingBoxKey.enableLongShowControl,
defaultVal: false,
),
if (PlatformUtils.isMobile)
const SwitchModel(
title: '后台播放',