Skip to content

Commit 8b03677

Browse files
committed
[fix] handler MainActor 범위로 수정
1 parent 923a49a commit 8b03677

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Projects/App/Sources/AppDelegate/AppDelegateFeature.swift

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,7 @@ public struct AppDelegateFeature {
8080
return .run { _ in completionHandler(.banner) }
8181

8282
case let .userNotifications(.didReceiveResponse(_, completionHandler)):
83-
return .run { send in
84-
await userDefaults.setBool(true, .fromBanner)
85-
completionHandler()
86-
}
83+
return .run { @MainActor _ in completionHandler() }
8784
case .userNotifications:
8885
return .none
8986

0 commit comments

Comments
 (0)