From ec7e73bb7c67d8188c4e9d5adaf99f8d0a39de49 Mon Sep 17 00:00:00 2001 From: Alex Hart Date: Fri, 19 Nov 2021 09:38:14 -0400 Subject: [PATCH] Do not use secondary colors for titles of unset values in manage profile fragment. --- .../securesms/profiles/manage/ManageProfileFragment.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/src/main/java/org/thoughtcrime/securesms/profiles/manage/ManageProfileFragment.java b/app/src/main/java/org/thoughtcrime/securesms/profiles/manage/ManageProfileFragment.java index 10024a5d25..63fd3c81da 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/profiles/manage/ManageProfileFragment.java +++ b/app/src/main/java/org/thoughtcrime/securesms/profiles/manage/ManageProfileFragment.java @@ -209,20 +209,16 @@ public class ManageProfileFragment extends LoggingFragment { private void presentUsername(@Nullable String username) { if (username == null || username.isEmpty()) { usernameView.setText(R.string.ManageProfileFragment_username); - usernameView.setTextColor(requireContext().getResources().getColor(R.color.signal_text_secondary)); } else { usernameView.setText(username); - usernameView.setTextColor(requireContext().getResources().getColor(R.color.signal_text_primary)); } } private void presentAbout(@Nullable String about) { if (about == null || about.isEmpty()) { aboutView.setText(R.string.ManageProfileFragment_about); - aboutView.setTextColor(requireContext().getResources().getColor(R.color.signal_text_secondary)); } else { aboutView.setText(about); - aboutView.setTextColor(requireContext().getResources().getColor(R.color.signal_text_primary)); } }