synchronize unread-badge-color with desktop (#2148)

This commit is contained in:
bjoern
2021-11-28 21:22:44 +01:00
committed by GitHub
parent e784b01f37
commit c7e81d2bc2
3 changed files with 4 additions and 2 deletions
+2
View File
@@ -12,6 +12,8 @@
<color name="primary_alpha_focus">#882090ea</color>
<color name="primary_alpha33">#552090ea</color>
<color name="unread_count">#ff3792fc</color>
<color name="white">#ffffffff</color>
<color name="black">#ff000000</color>
<color name="gray5">#ffeeeeee</color>
@@ -278,7 +278,7 @@ public class ConversationListItem extends RelativeLayout
.textColor(Color.WHITE)
.bold()
.endConfig()
.buildRound(String.valueOf(unreadCount), getResources().getColor(R.color.green_A700)));
.buildRound(String.valueOf(unreadCount), getResources().getColor(R.color.unread_count)));
unreadIndicator.setVisibility(View.VISIBLE);
}
}
@@ -102,7 +102,7 @@ public class AccountSelectionListItem extends LinearLayout {
.textColor(Color.WHITE)
.bold()
.endConfig()
.buildRound(String.valueOf(unreadCount), getResources().getColor(R.color.green_A700)));
.buildRound(String.valueOf(unreadCount), getResources().getColor(R.color.unread_count)));
unreadIndicator.setVisibility(View.VISIBLE);
}
}