Compare commits
2
Commits
bb91042da7
...
57e2ddd225
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
57e2ddd225 | ||
|
|
33bee371f1 |
@@ -118,11 +118,12 @@ public final class UNAlertNotificationDispatcher: NSObject, AlertNotificationDis
|
|||||||
didReceive response: UNNotificationResponse,
|
didReceive response: UNNotificationResponse,
|
||||||
withCompletionHandler completionHandler: @escaping () -> Void
|
withCompletionHandler completionHandler: @escaping () -> Void
|
||||||
) {
|
) {
|
||||||
let targetTab: String? = switch response.actionIdentifier {
|
let targetTab: String?
|
||||||
|
switch response.actionIdentifier {
|
||||||
case AlertNotificationAction.viewProcessesIdentifier:
|
case AlertNotificationAction.viewProcessesIdentifier:
|
||||||
"Processes"
|
targetTab = "Processes"
|
||||||
default:
|
default:
|
||||||
nil
|
targetTab = nil
|
||||||
}
|
}
|
||||||
Task { @MainActor in
|
Task { @MainActor in
|
||||||
AppNavigationBus.shared.request(tab: targetTab)
|
AppNavigationBus.shared.request(tab: targetTab)
|
||||||
|
|||||||
Reference in New Issue
Block a user