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

@@ -48,7 +48,7 @@ struct ContentView: View {
#endif
}
#if os(iOS)
.overlay(videoPlayer.edgesIgnoringSafeArea(Constants.isWindowFullscreen ? .init() : .all))
.overlay(videoPlayer)
.sheet(isPresented: $navigation.presentingShareSheet) {
if let shareURL = navigation.shareURL {
ShareSheet(activityItems: [shareURL])