mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-19 19:49:33 +01:00
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:
parent
0bedb8d150
commit
2bf470e0e6
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user