Continue adopting MainActor.

This commit is contained in:
Brent Simmons
2023-07-09 11:41:42 -07:00
parent b49731cc34
commit 63cc39dc4f
15 changed files with 17 additions and 17 deletions

View File

@@ -126,7 +126,7 @@ public class AddFeedIntentHandler: NSObject, AddFeedIntentHandling {
}
public func handle(intent: AddFeedIntent, completion: @escaping (AddFeedIntentResponse) -> Void) {
@MainActor public func handle(intent: AddFeedIntent, completion: @escaping (AddFeedIntentResponse) -> Void) {
guard let url = intent.url, let extensionContainers = ExtensionContainersFile.read() else {
completion(AddFeedIntentResponse(code: .failure, userActivity: nil))
return