make "+ add account" bold and tweak button color in dark mode

This commit is contained in:
adbenitez
2023-11-03 17:02:51 +01:00
parent ecaf2926e3
commit d35109fb7f
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -8,4 +8,5 @@
<color name="reaction_pill_text_color_selected">@color/reaction_pill_text_color</color>
<color name="action_mode_status_bar">@color/gray95</color>
<color name="dummy_avatar_color">#808080</color>
</resources>
@@ -75,8 +75,8 @@ public class AccountSelectionListItem extends LinearLayout {
nameView.setTypeface(null, Typeface.BOLD);
checkbox.setVisibility(View.VISIBLE);
} else {
addrView.setTypeface(null, 0);
nameView.setTypeface(null, 0);
addrView.setTypeface(null, Typeface.NORMAL);
nameView.setTypeface(null, accountId == DcContact.DC_CONTACT_ID_ADD_ACCOUNT? Typeface.BOLD : Typeface.NORMAL);
checkbox.setVisibility(View.GONE);
}