From b460b65a27b1ca6d53fbf615110206e8c654b3c9 Mon Sep 17 00:00:00 2001 From: Arne <arne@monocles.de> Date: Wed, 27 Nov 2024 10:39:26 +0100 Subject: [PATCH] Fix custom theme preference visibility --- .../ui/fragment/settings/InterfaceSettingsFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/eu/siacs/conversations/ui/fragment/settings/InterfaceSettingsFragment.java b/src/main/java/eu/siacs/conversations/ui/fragment/settings/InterfaceSettingsFragment.java index 81529eb4e..d2f708c86 100644 --- a/src/main/java/eu/siacs/conversations/ui/fragment/settings/InterfaceSettingsFragment.java +++ b/src/main/java/eu/siacs/conversations/ui/fragment/settings/InterfaceSettingsFragment.java @@ -41,7 +41,7 @@ public class InterfaceSettingsFragment extends XmppPreferenceFragment { updateCustomVisibility("custom".equals(newValue)); return true; }); - updateCustomVisibility("Custom".equals(themePreference.getSummary())); + updateCustomVisibility(getString(R.string.pref_theme_custom).equals(themePreference.getSummary())); dynamicColors.setOnPreferenceChangeListener( (preference, newValue) -> { requireSettingsActivity().setDynamicColors(Boolean.TRUE.equals(newValue));