From d35109fb7f942edd82ef23ee7cc313e581fbcdbb Mon Sep 17 00:00:00 2001 From: adbenitez Date: Fri, 3 Nov 2023 17:02:51 +0100 Subject: [PATCH] make "+ add account" bold and tweak button color in dark mode --- res/values-night/colors.xml | 1 + .../securesms/accounts/AccountSelectionListItem.java | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/res/values-night/colors.xml b/res/values-night/colors.xml index b4c595e89..c5fc78904 100644 --- a/res/values-night/colors.xml +++ b/res/values-night/colors.xml @@ -8,4 +8,5 @@ @color/reaction_pill_text_color @color/gray95 + #808080 diff --git a/src/org/thoughtcrime/securesms/accounts/AccountSelectionListItem.java b/src/org/thoughtcrime/securesms/accounts/AccountSelectionListItem.java index 79d3f37b2..0499cf29b 100644 --- a/src/org/thoughtcrime/securesms/accounts/AccountSelectionListItem.java +++ b/src/org/thoughtcrime/securesms/accounts/AccountSelectionListItem.java @@ -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); }