feat: 应用切换至后台自动画中画 issues #212

This commit is contained in:
guozhigq
2023-10-23 23:34:24 +08:00
parent 2db5c45158
commit 81bf8d915c
3 changed files with 27 additions and 1 deletions

View File

@ -85,6 +85,12 @@ class _PlaySettingState extends State<PlaySetting> {
setKey: SettingBoxKey.enableBackgroundPlay,
defaultVal: false,
),
const SetSwitchItem(
title: '自动PiP播放',
subTitle: 'app切换至后台时画中画播放',
setKey: SettingBoxKey.autoPiP,
defaultVal: false,
),
const SetSwitchItem(
title: '自动全屏',
subTitle: '视频开始播放时进入全屏',