Skip to content

Commit

Permalink
Ignore vertical safe area in player on iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
imxieyi committed Aug 26, 2023
1 parent f15ccd2 commit 28ad5e1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Shared/UI/ContentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ struct ContentView: View {
.ignoresSafeArea()
#else
PlayerView(shaders: config.selected, videoUrl: URL(string: videoUrl)!)
.ignoresSafeArea(.container, edges: .vertical)
.statusBarHidden()
.modifier(HideOverlayModifier())
#endif
Expand All @@ -170,6 +171,7 @@ struct ContentView: View {
.ignoresSafeArea()
#else
PlayerView(shaders: config.selected, videoUrl: localFileUrl)
.ignoresSafeArea(.container, edges: .vertical)
.statusBarHidden()
.modifier(HideOverlayModifier())
#endif
Expand Down

0 comments on commit 28ad5e1

Please sign in to comment.