Closes #57

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2024-12-28 09:38:58 +08:00
parent cbf0d050f8
commit 821a6ad4b2
8 changed files with 26 additions and 30 deletions

View File

@@ -108,7 +108,7 @@ class _LiveRoomPageState extends State<LiveRoomPage>
ScreenBrightness().resetApplicationScreenBrightness();
PlPlayerController.setPlayCallBack(null);
_liveRoomController.msgStream?.close();
floating?.dispose();
// floating?.dispose();
_node.dispose();
plPlayerController.dispose();
_ctr.dispose();
@@ -442,8 +442,8 @@ class _LiveRoomPageState extends State<LiveRoomPage>
});
if (Platform.isAndroid) {
return PiPSwitcher(
childWhenDisabled: childWhenDisabled,
childWhenEnabled: videoPlayerPanel,
getChildWhenDisabled: () => childWhenDisabled,
getChildWhenEnabled: () => videoPlayerPanel,
floating: floating,
);
} else {