Fix concurrency warning.

This commit is contained in:
Brent Simmons 2024-05-03 23:17:54 -07:00
parent 19a39ac295
commit 7f042b5d07

View File

@ -42,8 +42,9 @@ class OpenInBrowserActivity: UIActivity {
return
}
UIApplication.shared.open(url, options: [:], completionHandler: nil)
Task { @MainActor in
UIApplication.shared.open(url, options: [:], completionHandler: nil)
}
activityDidFinish(true)
}
}