Skip to content

Commit

Permalink
fix #598(pause before hide player)
Browse files Browse the repository at this point in the history
  • Loading branch information
yusuaois committed Jan 13, 2025
1 parent de430d6 commit af6f6a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/pages/player/player_item.dart
Original file line number Diff line number Diff line change
Expand Up @@ -668,6 +668,7 @@ class _PlayerItemState extends State<PlayerItem>
videoPageController.isFullscreen =
!videoPageController.isFullscreen;
} else if (!Platform.isMacOS) {
playerController.pause();
windowManager.hide();
}
}
Expand Down

0 comments on commit af6f6a4

Please sign in to comment.