1
0
mirror of https://github.com/yattee/yattee.git synced 2025-04-28 07:50:33 +05:30

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 { var usedAspectRatioContentMode: ContentMode {
#if os(iOS) #if os(tvOS)
fullScreen ? .fill : .fit
#else
.fit .fit
#else
fullScreen ? .fill : .fit
#endif #endif
} }