mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-01-03 13:30:14 +01:00
Fix concurrency warning.
This commit is contained in:
parent
19a39ac295
commit
7f042b5d07
@ -42,8 +42,9 @@ class OpenInBrowserActivity: UIActivity {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
UIApplication.shared.open(url, options: [:], completionHandler: nil)
|
Task { @MainActor in
|
||||||
|
UIApplication.shared.open(url, options: [:], completionHandler: nil)
|
||||||
|
}
|
||||||
activityDidFinish(true)
|
activityDidFinish(true)
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user