set link colors correctly

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
Andy Scherzinger 2022-07-28 17:22:57 +02:00
parent e3c535722d
commit 96c29260ab
No known key found for this signature in database
GPG Key ID: 6CADC7E3523C308B
2 changed files with 2 additions and 0 deletions

View File

@ -96,6 +96,7 @@ class MagicOutcomingTextMessageViewHolder(itemView: View) : OutcomingTextMessage
binding.messageTime.layoutParams = layoutParams
binding.messageText.text = messageString
binding.messageText.setTextColor(serverTheme.colorText)
binding.messageText.setLinkTextColor(serverTheme.colorText)
// parent message handling
if (!message.isDeleted && message.parentMessage != null) {

View File

@ -98,6 +98,7 @@ class OutcomingLocationMessageViewHolder(incomingView: View) : MessageHolders
binding.messageText.text = message.text
binding.messageText.setTextColor(serverTheme.colorText)
binding.messageText.setLinkTextColor(serverTheme.colorText)
// parent message handling
setParentMessageDataOnMessageItem(message)