refactor: GlobalDataCache

This commit is contained in:
guozhigq
2024-11-19 23:50:45 +08:00
parent 606a3ad495
commit 16fa467742
22 changed files with 79 additions and 84 deletions

View File

@ -155,7 +155,7 @@ class _PlaySettingState extends State<PlaySetting> {
setKey: SettingBoxKey.enablePlayerControlAnimation,
defaultVal: true,
callFn: (bool val) {
GlobalDataCache().enablePlayerControlAnimation = val;
GlobalDataCache.enablePlayerControlAnimation = val;
}),
SetSwitchItem(
title: '港澳台模式',