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 {