mirror of
https://github.com/yattee/yattee.git
synced 2025-11-20 08:52:20 +00:00
Simplify fullscreen handling for iOS
Remove unnecessary edgesIgnoringSafeArea modifier and simplify status bar hiding logic by removing iPad-specific conditional checks, making the fullscreen behavior more consistent across iOS devices.
This commit is contained in:
@@ -412,7 +412,7 @@ struct VideoPlayerView: View {
|
||||
if !newValue { player.controls.hideOverlays() }
|
||||
}
|
||||
#if os(iOS)
|
||||
.statusBar(hidden: Constants.isIPad ? Constants.isWindowFullscreen : fullScreenPlayer)
|
||||
.statusBar(hidden: fullScreenPlayer)
|
||||
.backport
|
||||
.toolbarBackground(colorScheme == .light ? .white : .black)
|
||||
.backport
|
||||
|
||||
Reference in New Issue
Block a user