Skip to content

Commit

Permalink
Minor nil coalescing fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rxhanson committed Nov 20, 2024
1 parent 4be459a commit 0700f01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rectangle/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 0700f01

Please sign in to comment.