From b9f79bb859f9dd2c8cbe880b106a61890d41e86f Mon Sep 17 00:00:00 2001 From: Thomas Ricouard Date: Wed, 1 Feb 2023 07:09:41 +0100 Subject: [PATCH] Close #568 --- Packages/Status/Sources/Status/Row/StatusRowContextMenu.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Packages/Status/Sources/Status/Row/StatusRowContextMenu.swift b/Packages/Status/Sources/Status/Row/StatusRowContextMenu.swift index ad1b3819..e17f9f5c 100644 --- a/Packages/Status/Sources/Status/Row/StatusRowContextMenu.swift +++ b/Packages/Status/Sources/Status/Row/StatusRowContextMenu.swift @@ -66,7 +66,7 @@ struct StatusRowContextMenu: View { } 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") } }