mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-12-24 14:02:53 +01:00
Handle links in direct message
This commit is contained in:
parent
f718755120
commit
a51e81102e
@ -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 New Issue
Block a user