fix auto fullscreen

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-03-14 23:25:19 +08:00
parent 565819febe
commit 7f39f36c75
3 changed files with 13 additions and 7 deletions

View File

@@ -369,7 +369,7 @@ class PlPlayerController with BlockConfigMixin {
late final showFsLockBtn = Pref.showFsLockBtn;
late final keyboardControl = Pref.keyboardControl;
late final bool _autoEnterFullScreen = Pref.autoEnterFullScreen;
late final bool autoEnterFullScreen = Pref.autoEnterFullScreen;
late final bool autoExitFullscreen = Pref.autoExitFullscreen;
late final bool autoPlayEnable = Pref.autoPlayEnable;
late final bool enableVerticalExpand = Pref.enableVerticalExpand;
@@ -630,7 +630,7 @@ class PlPlayerController with BlockConfigMixin {
// 数据加载完成
dataStatus.value = DataStatus.loaded;
if (autoFullScreenFlag && _autoEnterFullScreen) {
if (autoFullScreenFlag && autoEnterFullScreen) {
triggerFullScreen(status: true);
}