update pref default value

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-04-20 11:59:31 +08:00
parent 0fb394cc36
commit 91936a9f44
3 changed files with 11 additions and 9 deletions

View File

@@ -154,13 +154,13 @@ List<SettingsModel> get extraSettings => [
title: '横屏分P/合集列表显示在Tab栏',
leading: const Icon(Icons.format_list_numbered_rtl_sharp),
setKey: SettingBoxKey.horizontalSeasonPanel,
defaultVal: PlatformUtils.isDesktop,
defaultVal: Pref.horizontalScreen,
),
SwitchModel(
title: '横屏播放页在侧栏打开UP主页',
leading: const Icon(Icons.account_circle_outlined),
setKey: SettingBoxKey.horizontalMemberPage,
defaultVal: PlatformUtils.isDesktop,
defaultVal: Pref.horizontalScreen,
),
SwitchModel(
title: '横屏在侧栏打开图片预览',

View File

@@ -153,12 +153,12 @@ List<SettingsModel> get styleSettings => [
}
},
),
const SwitchModel(
SwitchModel(
title: '动态页启用瀑布流',
subtitle: '关闭会显示为单列',
leading: Icon(Icons.view_array_outlined),
leading: const Icon(Icons.view_array_outlined),
setKey: SettingBoxKey.dynamicsWaterfallFlow,
defaultVal: true,
defaultVal: Pref.horizontalScreen,
needReboot: true,
),
NormalModel(