mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-22 07:34:09 +01:00
Fix concurrency warning.
This commit is contained in:
parent
19a39ac295
commit
7f042b5d07
@ -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)
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user