Fix unread indirect mention bg color

The background color for the indirect unread mention counter was alwasys
white. Also in dark mode.

Now the background color is defined via the 'bg_default' color.

Signed-off-by: Tim Krüger <t@timkrueger.me>
This commit is contained in:
Tim Krüger 2021-12-14 11:39:34 +01:00
parent 0bedb8d150
commit 2bf470e0e6
No known key found for this signature in database
GPG Key ID: FECE3A7222C52A4E

View File

@ -155,8 +155,7 @@ public class ConversationItem extends AbstractFlexibleItem<ConversationItem.Conv
holder.dialogUnreadBubble.setChipBackgroundColorResource(R.color.colorPrimary);
holder.dialogUnreadBubble.setTextColor(Color.WHITE);
} else {
holder.dialogUnreadBubble.setChipBackgroundColor(ColorStateList.valueOf(
ContextCompat.getColor(context, R.color.white)));
holder.dialogUnreadBubble.setChipBackgroundColorResource(R.color.bg_default);
holder.dialogUnreadBubble.setTextColor(ContextCompat.getColor(
context,
R.color.colorPrimary));