Fixed video player background

This commit is contained in:
Arkadiusz Fal 2023-06-07 23:35:44 +02:00
parent 91290d4736
commit 4d5390ce2d

View File

@ -382,7 +382,7 @@ struct VideoPlayerView: View {
.listStyle(.plain)
#endif
.frame(maxWidth: 350)
.background(colorScheme == .dark ? Color.black : Color.white)
.background((colorScheme == .dark ? Color.black : Color.white).ignoresSafeArea())
.transition(.move(edge: .bottom))
}
#elseif os(macOS)