Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-01-23 19:50:11 +08:00
parent 7eaf05839a
commit 0ab07a713e
22 changed files with 443 additions and 470 deletions

View File

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

View File

@@ -331,20 +331,20 @@ List<SettingsModel> get styleSettings => [
getSubtitle: () =>
'当前消息类型:${Pref.msgUnReadTypeV2.map((item) => item.title).join('')}',
),
const SwitchModel(
SwitchModel(
title: '首页顶栏收起',
subtitle: '首页列表滑动时,收起顶栏',
leading: Icon(Icons.vertical_align_top_outlined),
setKey: SettingBoxKey.hideSearchBar,
defaultVal: true,
leading: const Icon(Icons.vertical_align_top_outlined),
setKey: SettingBoxKey.hideTopBar,
defaultVal: PlatformUtils.isMobile,
needReboot: true,
),
const SwitchModel(
SwitchModel(
title: '首页底栏收起',
subtitle: '首页列表滑动时,收起底栏',
leading: Icon(Icons.vertical_align_bottom_outlined),
setKey: SettingBoxKey.hideTabBar,
defaultVal: true,
leading: const Icon(Icons.vertical_align_bottom_outlined),
setKey: SettingBoxKey.hideBottomBar,
defaultVal: PlatformUtils.isMobile,
needReboot: true,
),
SwitchModel(