Skip to content

Commit

Permalink
Update PlayScreen.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaacMarovitz authored Jan 20, 2023
1 parent 1e17f6d commit 0a3045a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PlayTools/PlayScreen.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ extension CGSize {
}

func toAspectRatio() -> CGSize {
if #available(macCatalyst 16.3, *) {
if #available(iOS 16.3, *) {
return CGSize(width: mainScreenWidth, height: mainScreenHeight)
} else {
return CGSize(width: mainScreenHeight, height: mainScreenWidth)
Expand Down

0 comments on commit 0a3045a

Please sign in to comment.