mirror of
				https://github.com/yattee/yattee.git
				synced 2025-10-31 12:41:57 +00:00 
			
		
		
		
	Fix fullscreen exit
This commit is contained in:
		| @@ -236,16 +236,11 @@ final class PlayerModel: ObservableObject { | ||||
|         } | ||||
|  | ||||
|         DispatchQueue.main.async { [weak self] in | ||||
|             self?.exitFullScreen(showControls: false) | ||||
|             Delay.by(0.3) { | ||||
|                 self?.exitFullScreen(showControls: false) | ||||
|             } | ||||
|         } | ||||
|  | ||||
|         #if os(iOS) | ||||
|             if Defaults[.lockPortraitWhenBrowsing] { | ||||
|                 Orientation.lockOrientation(.portrait, andRotateTo: .portrait) | ||||
|             } else { | ||||
|                 Orientation.lockOrientation(.allButUpsideDown) | ||||
|             } | ||||
|         #endif | ||||
|         #if os(macOS) | ||||
|             Windows.player.hide() | ||||
|         #endif | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Arkadiusz Fal
					Arkadiusz Fal