mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2025-01-03 04:48:50 +00:00
Handle links in direct message
This commit is contained in:
parent
f718755120
commit
a51e81102e
1 changed files with 3 additions and 0 deletions
|
@ -33,6 +33,9 @@ struct ConversationMessageView: View {
|
|||
EmojiTextApp(message.content, emojis: message.emojis)
|
||||
.font(.scaledBody)
|
||||
.padding(6)
|
||||
.environment(\.openURL, OpenURLAction { url in
|
||||
routerPath.handleStatus(status: message, url: url)
|
||||
})
|
||||
}
|
||||
.background(isOwnMessage ? theme.tintColor.opacity(0.2) : theme.secondaryBackgroundColor)
|
||||
.cornerRadius(8)
|
||||
|
|
Loading…
Reference in a new issue