fix: 设置项重复、更新内容高度溢出

This commit is contained in:
guozhigq
2023-09-02 21:17:58 +08:00
parent e35f39e353
commit 4036262bed
3 changed files with 37 additions and 25 deletions

View File

@ -95,6 +95,17 @@ class _AboutPageState extends State<AboutPage> {
style: subTitleStyle,
),
),
ListTile(
onTap: () => _aboutController.panDownload(),
title: const Text('网盘下载'),
trailing: Text(
'提取码pili',
style: TextStyle(
fontSize: 13,
color: Theme.of(context).colorScheme.outline,
),
),
),
ListTile(
onTap: () => _aboutController.feedback(),
title: const Text('问题反馈'),
@ -195,6 +206,14 @@ class AboutController extends GetxController {
);
}
// 从网盘下载
panDownload() {
launchUrl(
Uri.parse('https://www.123pan.com/s/9sVqVv-flu0A.html'),
mode: LaunchMode.externalApplication,
);
}
// 问题反馈
feedback() {
launchUrl(

View File

@ -90,18 +90,6 @@ class _PlaySettingState extends State<PlaySetting> {
setKey: SettingBoxKey.enableAutoBrightness,
defaultVal: false,
),
const SetSwitchItem(
title: '自动全屏',
subTitle: '视频开始播放时进入全屏',
setKey: SettingBoxKey.enableAutoEnter,
defaultVal: false,
),
const SetSwitchItem(
title: '自动退出',
subTitle: '视频结束播放时退出全屏',
setKey: SettingBoxKey.enableAutoExit,
defaultVal: false,
),
const SetSwitchItem(
title: '双击快退/快进',
subTitle: '左侧双击快退,右侧双击快进',