mirror of
https://github.com/nextcloud/talk-android
synced 2025-02-01 20:22:03 +00:00
detekt
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
This commit is contained in:
parent
31cedf0da5
commit
c278183382
@ -74,7 +74,9 @@ class OutcomingTextMessageViewHolder(itemView: View) : OutcomingTextMessageViewH
|
||||
var textSize = context.resources.getDimension(R.dimen.chat_text_size)
|
||||
viewThemeUtils.platform.colorTextView(binding.messageTime, ColorRole.ON_SURFACE_VARIANT)
|
||||
var processedMessageText = messageUtils.enrichChatMessageText(
|
||||
binding.messageText.context, message, false,
|
||||
binding.messageText.context,
|
||||
message,
|
||||
false,
|
||||
viewThemeUtils
|
||||
)
|
||||
processedMessageText = messageUtils.processMessageParameters(
|
||||
|
@ -373,7 +373,7 @@ class TalkSpecificViewThemeUtils @Inject constructor(
|
||||
fun getTextColor(
|
||||
isOutgoingMessage: Boolean,
|
||||
isSelfReaction: Boolean,
|
||||
binding: ReactionsInsideMessageBinding,
|
||||
binding: ReactionsInsideMessageBinding
|
||||
): Int {
|
||||
return withScheme(binding.root) { scheme ->
|
||||
return@withScheme if (!isOutgoingMessage || isSelfReaction) {
|
||||
|
Loading…
Reference in New Issue
Block a user