From 3615c396dd43d9b0c9745e83f1ab368f547dd92e Mon Sep 17 00:00:00 2001 From: Thomas Ricouard Date: Fri, 3 Feb 2023 07:15:19 +0100 Subject: [PATCH] FIx open link in profile close #624 --- Packages/Account/Sources/Account/AccountDetailView.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Packages/Account/Sources/Account/AccountDetailView.swift b/Packages/Account/Sources/Account/AccountDetailView.swift index 9160ba67..7ec2f9a7 100644 --- a/Packages/Account/Sources/Account/AccountDetailView.swift +++ b/Packages/Account/Sources/Account/AccountDetailView.swift @@ -231,6 +231,10 @@ public struct AccountDetailView: View { } EmojiTextApp(field.value, emojis: viewModel.account?.emojis ?? []) .foregroundColor(theme.tintColor) + .environment(\.openURL, OpenURLAction { url in + UIApplication.shared.open(url) + return .handled + }) } .font(.scaledBody) }