Skip to content

Commit 1703b4d

Browse files
committed
Add control flow's condition
1 parent 21c44db commit 1703b4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Impl/Coordinates.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ final class Coordinates<PinView: Layoutable> {
108108

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

0 commit comments

Comments
 (0)