mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 11:08:03 +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 (Platform.isAndroid) {
|
||||
_disableAutoEnterPipIfNeeded();
|
||||
@@ -1765,6 +1765,8 @@ class PlPlayerController with BlockConfigMixin {
|
||||
triggerFullScreen(status: false);
|
||||
return;
|
||||
}
|
||||
Get.back();
|
||||
if (horizontalScreen || isPortrait) {
|
||||
Get.back();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user