diff --git a/Sources/Intelligence/AlertNotificationDispatcher.swift b/Sources/Intelligence/AlertNotificationDispatcher.swift index 8ba5992..6b067c9 100644 --- a/Sources/Intelligence/AlertNotificationDispatcher.swift +++ b/Sources/Intelligence/AlertNotificationDispatcher.swift @@ -118,11 +118,12 @@ public final class UNAlertNotificationDispatcher: NSObject, AlertNotificationDis didReceive response: UNNotificationResponse, withCompletionHandler completionHandler: @escaping () -> Void ) { - let targetTab: String? = switch response.actionIdentifier { + let targetTab: String? + switch response.actionIdentifier { case AlertNotificationAction.viewProcessesIdentifier: - "Processes" + targetTab = "Processes" default: - nil + targetTab = nil } Task { @MainActor in AppNavigationBus.shared.request(tab: targetTab)