Merge pull request #1741 from nextcloud/bugfix/noid/bg-color-unread-indirect-mention

Fix unread indirect mention bg color
This commit is contained in:
Tim Krueger 2021-12-14 14:48:03 +01:00 committed by GitHub
commit 89a8ca630d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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));