mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-11-26 18:21:00 +00:00
FIx open link in profile close #624
This commit is contained in:
parent
e79b39f952
commit
3615c396dd
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue