We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 923a49a commit 8b03677Copy full SHA for 8b03677
Projects/App/Sources/AppDelegate/AppDelegateFeature.swift
@@ -80,10 +80,7 @@ public struct AppDelegateFeature {
80
return .run { _ in completionHandler(.banner) }
81
82
case let .userNotifications(.didReceiveResponse(_, completionHandler)):
83
- return .run { send in
84
- await userDefaults.setBool(true, .fromBanner)
85
- completionHandler()
86
- }
+ return .run { @MainActor _ in completionHandler() }
87
case .userNotifications:
88
return .none
89
0 commit comments