This commit is contained in:
Thomas Ricouard 2023-02-01 07:09:41 +01:00
parent 99071a2f23
commit b9f79bb859

View file

@ -66,7 +66,7 @@ struct StatusRowContextMenu: View {
} }
if let url = URL(string: viewModel.status.reblog?.url ?? viewModel.status.url ?? "") { if let url = URL(string: viewModel.status.reblog?.url ?? viewModel.status.url ?? "") {
Button { openURL(url) } label: { Button { UIApplication.shared.open(url) } label: {
Label("status.action.view-in-browser", systemImage: "safari") Label("status.action.view-in-browser", systemImage: "safari")
} }
} }