opt live back btn

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-11-18 20:58:01 +08:00
parent 2d9a1310b9
commit 8e1d5e0dd5

View File

@@ -71,11 +71,17 @@ class LiveHeaderControl extends StatelessWidget {
title: Row( title: Row(
spacing: 10, spacing: 10,
children: [ children: [
if (isFullScreen) if (isFullScreen || plPlayerController.isDesktopPip)
ComBtn( ComBtn(
tooltip: '返回', tooltip: '返回',
icon: const Icon(FontAwesomeIcons.arrowLeft, size: 15), icon: const Icon(FontAwesomeIcons.arrowLeft, size: 15),
onTap: () => plPlayerController.triggerFullScreen(status: false), onTap: () {
if (plPlayerController.isDesktopPip) {
plPlayerController.exitDesktopPip();
} else {
plPlayerController.triggerFullScreen(status: false);
}
},
), ),
child, child,
ComBtn( ComBtn(