From 0700f0154072abce23f9ed15382fb92d7496e59b Mon Sep 17 00:00:00 2001 From: Ryan Hanson Date: Tue, 19 Nov 2024 22:40:05 -0800 Subject: [PATCH] Minor nil coalescing fix --- Rectangle/AppDelegate.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rectangle/AppDelegate.swift b/Rectangle/AppDelegate.swift index 6871e023..4fc07cc9 100644 --- a/Rectangle/AppDelegate.swift +++ b/Rectangle/AppDelegate.swift @@ -558,7 +558,7 @@ extension AppDelegate { } func extractBundleIdParameter(fromComponents components: URLComponents) -> String? { - (components.queryItems?.first { $0.name == "app-bundle-id" })?.value + (components.queryItems?.first { $0.name == "app-bundle-id" })?.value ?? ApplicationToggle.frontAppId } func isValidParameter(bundleId: String?) -> Bool {