Honour in app browser settings when opening profile about fields

This commit is contained in:
Thomas Ricouard 2023-02-19 15:32:56 +01:00
parent ccc504fc6f
commit 942279e482

View file

@ -236,8 +236,7 @@ struct AccountDetailHeaderView: View {
EmojiTextApp(field.value, emojis: viewModel.account?.emojis ?? [])
.foregroundColor(theme.tintColor)
.environment(\.openURL, OpenURLAction { url in
UIApplication.shared.open(url)
return .handled
routerPath.handle(url: url)
})
}
.font(.scaledBody)