Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-01-22 11:00:45 +08:00
parent 05e8ded86a
commit 92e5fae29c
6 changed files with 247 additions and 260 deletions

View File

@@ -352,16 +352,8 @@ class _LiveRoomPageState extends State<LiveRoomPage>
);
}
return PopScope(
canPop: !isFullScreen,
onPopInvokedWithResult: (bool didPop, Object? result) {
if (plPlayerController.controlsLock.value) {
plPlayerController.onLockControl(false);
return;
}
if (isFullScreen) {
plPlayerController.triggerFullScreen(status: false);
}
},
canPop: !isFullScreen && !plPlayerController.isDesktopPip,
onPopInvokedWithResult: plPlayerController.onPopInvokedWithResult,
child: player,
);
}