fix broken fullscreen on macOS

This commit is contained in:
Toni Förster
2023-11-21 17:58:44 +01:00
parent df47ffb013
commit c3e1465f31

View File

@@ -43,10 +43,10 @@ struct VideoPlayerSizeModifier: ViewModifier {
}
var usedAspectRatioContentMode: ContentMode {
#if os(iOS)
fullScreen ? .fill : .fit
#if os(tvOS)
.fit
#else
.fit
fullScreen ? .fill : .fit
#endif
}