mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-01 00:28:18 +08:00
@@ -313,28 +313,30 @@ class _LiveRoomPageState extends State<LiveRoomPage>
|
|||||||
},
|
},
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
PopScope(
|
Obx(
|
||||||
canPop: plPlayerController.isFullScreen.value != true,
|
() => PopScope(
|
||||||
onPopInvokedWithResult: (bool didPop, Object? result) {
|
canPop: plPlayerController.isFullScreen.value != true,
|
||||||
if (plPlayerController.isFullScreen.value == true) {
|
onPopInvokedWithResult: (bool didPop, Object? result) {
|
||||||
plPlayerController.triggerFullScreen(status: false);
|
if (plPlayerController.isFullScreen.value == true) {
|
||||||
// if (MediaQuery.of(context).orientation ==
|
plPlayerController.triggerFullScreen(status: false);
|
||||||
// Orientation.landscape) {
|
// if (MediaQuery.of(context).orientation ==
|
||||||
// verticalScreenForTwoSeconds();
|
// Orientation.landscape) {
|
||||||
// }
|
// verticalScreenForTwoSeconds();
|
||||||
}
|
// }
|
||||||
},
|
}
|
||||||
child: Listener(
|
|
||||||
onPointerDown: (_) {
|
|
||||||
_node.unfocus();
|
|
||||||
},
|
},
|
||||||
child: SizedBox(
|
child: Listener(
|
||||||
width: Get.size.width,
|
onPointerDown: (_) {
|
||||||
height: MediaQuery.of(context).orientation ==
|
_node.unfocus();
|
||||||
Orientation.landscape
|
},
|
||||||
? Get.size.height
|
child: SizedBox(
|
||||||
: Get.size.width * 9 / 16,
|
width: Get.size.width,
|
||||||
child: videoPlayerPanel,
|
height: MediaQuery.of(context).orientation ==
|
||||||
|
Orientation.landscape
|
||||||
|
? Get.size.height
|
||||||
|
: Get.size.width * 9 / 16,
|
||||||
|
child: videoPlayerPanel,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user