mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-30 23:58:13 +08:00
feat: return horizontal | isPortrait
This commit is contained in:
@@ -1746,7 +1746,7 @@ class PlPlayerController with BlockConfigMixin {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
void onPopInvokedWithResult(bool didPop, Object? result, bool isPortrait) {
|
void onPopInvokedWithResult(bool didPop, Object? result) {
|
||||||
if (didPop) {
|
if (didPop) {
|
||||||
if (Platform.isAndroid) {
|
if (Platform.isAndroid) {
|
||||||
_disableAutoEnterPipIfNeeded();
|
_disableAutoEnterPipIfNeeded();
|
||||||
@@ -1765,6 +1765,8 @@ class PlPlayerController with BlockConfigMixin {
|
|||||||
triggerFullScreen(status: false);
|
triggerFullScreen(status: false);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Get.back();
|
if (horizontalScreen || isPortrait) {
|
||||||
|
Get.back();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user