mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-06-18 05:00:35 +00:00
Honour in app browser settings when opening profile about fields
This commit is contained in:
parent
ccc504fc6f
commit
942279e482
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue