mirror of
https://github.com/nextcloud/talk-android
synced 2025-07-15 16:55:03 +01: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)
|
var textSize = context.resources.getDimension(R.dimen.chat_text_size)
|
||||||
viewThemeUtils.platform.colorTextView(binding.messageTime, ColorRole.ON_SURFACE_VARIANT)
|
viewThemeUtils.platform.colorTextView(binding.messageTime, ColorRole.ON_SURFACE_VARIANT)
|
||||||
var processedMessageText = messageUtils.enrichChatMessageText(
|
var processedMessageText = messageUtils.enrichChatMessageText(
|
||||||
binding.messageText.context, message, false,
|
binding.messageText.context,
|
||||||
|
message,
|
||||||
|
false,
|
||||||
viewThemeUtils
|
viewThemeUtils
|
||||||
)
|
)
|
||||||
processedMessageText = messageUtils.processMessageParameters(
|
processedMessageText = messageUtils.processMessageParameters(
|
||||||
|
@ -373,7 +373,7 @@ class TalkSpecificViewThemeUtils @Inject constructor(
|
|||||||
fun getTextColor(
|
fun getTextColor(
|
||||||
isOutgoingMessage: Boolean,
|
isOutgoingMessage: Boolean,
|
||||||
isSelfReaction: Boolean,
|
isSelfReaction: Boolean,
|
||||||
binding: ReactionsInsideMessageBinding,
|
binding: ReactionsInsideMessageBinding
|
||||||
): Int {
|
): Int {
|
||||||
return withScheme(binding.root) { scheme ->
|
return withScheme(binding.root) { scheme ->
|
||||||
return@withScheme if (!isOutgoingMessage || isSelfReaction) {
|
return@withScheme if (!isOutgoingMessage || isSelfReaction) {
|
||||||
|
Loading…
Reference in New Issue
Block a user