fix: controlsLock exit fullscreen

This commit is contained in:
guozhigq
2024-11-20 09:46:05 +08:00
parent 94fa0a1e6e
commit 4008b8caef
2 changed files with 7 additions and 1 deletions

View File

@ -684,6 +684,11 @@ class _VideoDetailPageState extends State<VideoDetailPage>
canPop:
plPlayerController?.isFullScreen.value != true,
onPopInvoked: (bool didPop) {
if (plPlayerController?.controlsLock.value ==
true) {
plPlayerController?.onLockControl(false);
return;
}
if (plPlayerController?.isFullScreen.value ==
true) {
plPlayerController!