Fix custom theme preference visibility

This commit is contained in:
Arne 2024-11-27 10:39:26 +01:00
parent dc33e904e5
commit b460b65a27

View file

@ -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));