Skip to content

Commit

Permalink
Merge branch 'fix'
Browse files Browse the repository at this point in the history
  • Loading branch information
guozhigq committed Jan 2, 2024
2 parents 5d51b23 + b738953 commit b1e9cd6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/pages/video/detail/view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,10 @@ class _VideoDetailPageState extends State<VideoDetailPage>
void _handleTransition(String name) {
switch (name) {
case 'inactive':
autoEnterPip();
if (plPlayerController != null &&
playerStatus == PlayerStatus.playing) {
autoEnterPip();
}
break;
}
}
Expand Down

0 comments on commit b1e9cd6

Please sign in to comment.