Open links in Safari if remote status loading fails
This commit is contained in:
parent
8803f1524a
commit
6e47f9410d
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue