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
No known key found for this signature in database
GPG Key ID: 292F3E5086C83FC7

View File

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