From 3ffdde8904dd56f64c887fdcd97efb9275b094fd Mon Sep 17 00:00:00 2001 From: Duraid Abdul Date: Tue, 20 Sep 2022 10:39:18 -0600 Subject: [PATCH] Fix Xcode 13 build failure --- Sources/LocalConsole/LCManager.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/LocalConsole/LCManager.swift b/Sources/LocalConsole/LCManager.swift index 0299645..90d6e90 100644 --- a/Sources/LocalConsole/LCManager.swift +++ b/Sources/LocalConsole/LCManager.swift @@ -162,7 +162,7 @@ public class LCManager: NSObject, UIGestureRecognizerDelegate { /// Gesture endpoints. Each point represents a corner of the screen. TODO: Handle screen rotation. var possibleEndpoints: [CGPoint] { - guard let consoleWindow else { return [] } + guard let consoleWindow = consoleWindow else { return [] } let screenSize = viewController.view.frame.size