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:
Arkadiusz Fal
2025-11-18 18:11:48 +01:00
parent 50efe94839
commit 13d7a8d0a6
2 changed files with 2 additions and 2 deletions

View File

@@ -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