Fix video details offset

This commit is contained in:
Arkadiusz Fal
2022-06-27 00:15:01 +02:00
parent c960a82885
commit 575c2dd2ba
2 changed files with 5 additions and 5 deletions

View File

@@ -240,7 +240,7 @@ struct VideoPlayerView: View {
}
.background(colorScheme == .dark ? Color.black : Color.white)
.modifier(VideoDetailsPaddingModifier(
geometry: geometry,
playerSize: player.playerSize,
aspectRatio: player.avPlayerBackend.controller?.aspectRatio,
fullScreen: fullScreenDetails
))