Open links in Safari if remote status loading fails

This commit is contained in:
Thomas Ricouard 2023-03-15 08:25:23 +01:00
parent 8803f1524a
commit 6e47f9410d
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ public struct StatusDetailView: View {
if !result {
if let url = viewModel.remoteStatusURL {
openURL(url)
await UIApplication.shared.open(url)
}
DispatchQueue.main.async {
_ = routerPath.path.popLast()