mod: 默认自动退出全屏

This commit is contained in:
orz12
2024-03-22 13:39:46 +08:00
parent 66c7360918
commit 74ac540753
2 changed files with 3 additions and 3 deletions

View File

@@ -63,7 +63,7 @@ class _PlaySettingState extends State<PlaySetting> {
children: [
const SetSwitchItem(
title: '弹幕开关',
subTitle: '设定弹幕是否默认显示',
subTitle: '是否展示弹幕',
setKey: SettingBoxKey.enableShowDanmaku,
defaultVal: false,
),
@@ -128,7 +128,7 @@ class _PlaySettingState extends State<PlaySetting> {
title: '自动退出全屏',
subTitle: '视频结束播放时退出全屏',
setKey: SettingBoxKey.enableAutoExit,
defaultVal: false,
defaultVal: true,
),
const SetSwitchItem(
title: '后台播放',

View File

@@ -90,7 +90,7 @@ class _VideoDetailPageState extends State<VideoDetailPage>
bangumiIntroController.bangumiDetail.value, p0);
});
autoExitFullcreen =
setting.get(SettingBoxKey.enableAutoExit, defaultValue: false);
setting.get(SettingBoxKey.enableAutoExit, defaultValue: true);
horizontalScreen =
setting.get(SettingBoxKey.horizontalScreen, defaultValue: false);
autoPlayEnable =