From 21749767162d0e519549ad65b3226cee5088e9de Mon Sep 17 00:00:00 2001 From: ThomasSession Date: Fri, 6 Sep 2024 10:52:13 +1000 Subject: [PATCH] Do not change the text color on emioji picker --- .../securesms/reactions/ReactionsDialogFragment.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/src/main/java/org/thoughtcrime/securesms/reactions/ReactionsDialogFragment.java b/app/src/main/java/org/thoughtcrime/securesms/reactions/ReactionsDialogFragment.java index eb9947e428..d68d467f27 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/reactions/ReactionsDialogFragment.java +++ b/app/src/main/java/org/thoughtcrime/securesms/reactions/ReactionsDialogFragment.java @@ -122,17 +122,13 @@ public final class ReactionsDialogFragment extends BottomSheetDialogFragment imp @Override public void onTabSelected(TabLayout.Tab tab) { View customView = tab.getCustomView(); - TextView text = customView.findViewById(R.id.reactions_pill_count); customView.setBackground(ContextCompat.getDrawable(requireContext(), R.drawable.reaction_pill_background_selected)); - text.setTextColor(ThemeUtil.getThemedColor(requireContext(), R.attr.reactionsPillSelectedTextColor)); } @Override public void onTabUnselected(TabLayout.Tab tab) { View customView = tab.getCustomView(); - TextView text = customView.findViewById(R.id.reactions_pill_count); customView.setBackground(ContextCompat.getDrawable(requireContext(), R.drawable.reaction_pill_dialog_background)); - text.setTextColor(ThemeUtil.getThemedColor(requireContext(), R.attr.reactionsPillNormalTextColor)); } @Override public void onTabReselected(TabLayout.Tab tab) {}