mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-22 11:41:09 +08:00
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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>(
|
||||
|
||||
@@ -127,7 +127,7 @@ class LiveHeaderControl extends StatelessWidget {
|
||||
}
|
||||
if (await Floating().isPipAvailable) {
|
||||
plPlayerController
|
||||
..hiddenControls(false)
|
||||
..showControls.value = false
|
||||
..enterPip();
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user