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:
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user