custom show fs lock btn

Closes #1150

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-08-28 16:04:14 +08:00
parent 06a5c2c63b
commit 659cff875f
5 changed files with 13 additions and 1 deletions

View File

@@ -327,6 +327,7 @@ class PlPlayerController {
late final horizontalPreview = Pref.horizontalPreview;
late final showDmChart = Pref.showDmChart;
late final showFsScreenshotBtn = Pref.showFsScreenshotBtn;
late final showFsLockBtn = Pref.showFsLockBtn;
late final bool autoExitFullscreen = Pref.autoExitFullscreen;
late final bool autoPlayEnable = Pref.autoPlayEnable;

View File

@@ -1571,7 +1571,7 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
),
// 锁
if (!isLive && isFullScreen)
if (!isLive && isFullScreen && plPlayerController.showFsScreenshotBtn)
ViewSafeArea(
right: false,
child: Align(