FIx open link in profile close #624

This commit is contained in:
Thomas Ricouard 2023-02-03 07:15:19 +01:00
parent e79b39f952
commit 3615c396dd

View file

@ -231,6 +231,10 @@ public struct AccountDetailView: View {
} }
EmojiTextApp(field.value, emojis: viewModel.account?.emojis ?? []) EmojiTextApp(field.value, emojis: viewModel.account?.emojis ?? [])
.foregroundColor(theme.tintColor) .foregroundColor(theme.tintColor)
.environment(\.openURL, OpenURLAction { url in
UIApplication.shared.open(url)
return .handled
})
} }
.font(.scaledBody) .font(.scaledBody)
} }