Skip to content

Commit

Permalink
Merge pull request #68 from IsaacMarovitz/patch-2
Browse files Browse the repository at this point in the history
Update PlayScreen.swift
  • Loading branch information
Depal1 authored Jan 20, 2023
2 parents 1e17f6d + 0a3045a commit dd9f6d7
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 dd9f6d7

Please sign in to comment.