Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-11-21 16:27:00 +08:00
parent a7e67796f1
commit c1d42b498a
10 changed files with 211 additions and 186 deletions

View File

@@ -345,6 +345,10 @@ 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);
}

View File

@@ -120,7 +120,7 @@ class _BottomControlState extends State<BottomControl> with HeaderMixin {
CustomIcons.dm_settings,
color: Colors.white,
),
onTap: showSetDanmaku,
onTap: () => showSetDanmaku(isLive: true),
),
Obx(
() => PopupMenuButton<VideoFitType>(

View File

@@ -127,7 +127,7 @@ class LiveHeaderControl extends StatelessWidget {
}
if (await Floating().isPipAvailable) {
plPlayerController
..hiddenControls(false)
..showControls.value = false
..enterPip();
}
},