From fc5a3e5c754e283724fe8424e5bcae35e4b0f28c Mon Sep 17 00:00:00 2001 From: "B. Petersen" Date: Fri, 20 Sep 2024 14:51:46 +0200 Subject: [PATCH] cleanup account switcher do not show 'Add Profile' in bold. this looks less cluttered and makes the "bold" of the selected account more outstanding: before, there were two types of "boldness", the add profile button (using bold only) and the selected profile (using bold and a background), this results in a bit cluttered, unsteady look, esp. when there are few accounts and more bold than normal is shown. also, this makes "bold" more outstanding, as this attribute is given to one line only. there is no need for the "add profile" to be that outstanding (in contrast to eg. the "add chat" dialog) it is a minor, sure :) --- .../securesms/accounts/AccountSelectionListItem.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/thoughtcrime/securesms/accounts/AccountSelectionListItem.java b/src/main/java/org/thoughtcrime/securesms/accounts/AccountSelectionListItem.java index 454eb15dd..f18b24380 100644 --- a/src/main/java/org/thoughtcrime/securesms/accounts/AccountSelectionListItem.java +++ b/src/main/java/org/thoughtcrime/securesms/accounts/AccountSelectionListItem.java @@ -91,7 +91,7 @@ public class AccountSelectionListItem extends LinearLayout { nameView.setTypeface(null, Typeface.BOLD); } else { addrView.setTypeface(null, Typeface.NORMAL); - nameView.setTypeface(null, accountId == DcContact.DC_CONTACT_ID_ADD_ACCOUNT? Typeface.BOLD : Typeface.NORMAL); + nameView.setTypeface(null, Typeface.NORMAL); } updateUnreadIndicator(unreadCount, isMuted);