feat: 播放器控制栏动画开关

This commit is contained in:
guozhigq
2024-03-02 11:19:18 +08:00
parent f815affff9
commit f0d8e2a122
4 changed files with 18 additions and 1 deletions

View File

@ -49,6 +49,8 @@ class GStrorage {
GlobalData().fullScreenGestureMode = FullScreenGestureMode.values[
setting.get(SettingBoxKey.fullScreenGestureMode,
defaultValue: FullScreenGestureMode.values.last.index) as int];
GlobalData().enablePlayerControlAnimation = setting
.get(SettingBoxKey.enablePlayerControlAnimation, defaultValue: true);
}
static void regAdapter() {
@ -98,6 +100,7 @@ class SettingBoxKey {
enableCDN = 'enableCDN',
autoPiP = 'autoPiP',
enableAutoLongPressSpeed = 'enableAutoLongPressSpeed',
enablePlayerControlAnimation = 'enablePlayerControlAnimation',
// youtube 双击快进快退
enableQuickDouble = 'enableQuickDouble',