mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-03 02:42:54 +00:00
Fix concurrency warning.
This commit is contained in:
1 parent
19a39ac295
commit
7f042b5d07
1 file changed
+3
-2
@@ -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)
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user