mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 11:08:03 +08:00
opt uplist item
end align player duration Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -472,10 +472,10 @@ class PlPlayerController {
|
||||
enableHeart = false;
|
||||
}
|
||||
|
||||
if (Platform.isAndroid) {
|
||||
if (Platform.isAndroid && autoPiP) {
|
||||
Utils.channel.setMethodCallHandler((call) async {
|
||||
if (call.method == 'onUserLeaveHint') {
|
||||
if (autoPiP && playerStatus.status.value == PlayerStatus.playing) {
|
||||
if (playerStatus.status.value == PlayerStatus.playing) {
|
||||
enterPip();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user