feat: 简易后台播放

This commit is contained in:
guozhigq
2023-09-07 08:49:07 +08:00
parent 7f961e998c
commit 5b953ae0be
4 changed files with 27 additions and 22 deletions

View File

@ -60,6 +60,12 @@ class _PlaySettingState extends State<PlaySetting> {
setKey: SettingBoxKey.autoPlayEnable,
defaultVal: true,
),
const SetSwitchItem(
title: '后台播放',
subTitle: '进入后台时继续播放',
setKey: SettingBoxKey.enableBackgroundPlay,
defaultVal: false,
),
const SetSwitchItem(
title: '自动全屏',
subTitle: '视频开始播放时进入全屏',