mirror of
https://github.com/yattee/yattee.git
synced 2025-08-09 20:24:06 +00:00
Performance improvements
This commit is contained in:
@@ -454,10 +454,9 @@ struct VideoPlayerView: View {
|
||||
if drag > 60,
|
||||
player.playingFullScreen
|
||||
{
|
||||
player.exitFullScreen()
|
||||
player.exitFullScreen(showControls: false)
|
||||
if Defaults[.rotateToPortraitOnExitFullScreen] {
|
||||
Orientation.lockOrientation(.allButUpsideDown, andRotateTo: .portrait)
|
||||
playerControls.show()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user