Skip to content

Commit

Permalink
Add control flow's condition
Browse files Browse the repository at this point in the history
  • Loading branch information
hyun99999 committed Oct 18, 2023
1 parent 21c44db commit 1703b4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Impl/Coordinates.swift
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ final class Coordinates<PinView: Layoutable> {

private func getDisplayScale() -> CGFloat {
#if os(iOS) || os(tvOS)
if #available(iOS 13.0, *) {
if #available(iOS 13.0, tvOS 13.0, *) {
let windowScene = UIApplication.shared.connectedScenes.first as? UIWindowScene
return windowScene?.screen.scale ?? .zero
} else {
Expand Down

0 comments on commit 1703b4d

Please sign in to comment.