feat: 新增播放页默认展示评论区设置

This commit is contained in:
orz12
2024-04-04 10:55:43 +08:00
parent 61996b1391
commit 7d358bea1a
3 changed files with 12 additions and 2 deletions

View File

@@ -263,6 +263,12 @@ class _StyleSettingState extends State<StyleSetting> {
'当前主题:${colorSelectController.type.value == 0 ? '动态取色' : '指定颜色'}',
style: subTitleStyle)),
),
const SetSwitchItem(
title: '默认展示评论区',
subTitle: '在视频详情页默认切换至评论区页',
setKey: SettingBoxKey.defaultShowComment,
defaultVal: false,
),
ListTile(
dense: false,
onTap: () => settingController.seteDefaultHomePage(context),