forked from mirror/monocles_chat_clean
Fix custom theme preference visibility
This commit is contained in:
parent
dc33e904e5
commit
b460b65a27
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ public class InterfaceSettingsFragment extends XmppPreferenceFragment {
|
||||||
updateCustomVisibility("custom".equals(newValue));
|
updateCustomVisibility("custom".equals(newValue));
|
||||||
return true;
|
return true;
|
||||||
});
|
});
|
||||||
updateCustomVisibility("Custom".equals(themePreference.getSummary()));
|
updateCustomVisibility(getString(R.string.pref_theme_custom).equals(themePreference.getSummary()));
|
||||||
dynamicColors.setOnPreferenceChangeListener(
|
dynamicColors.setOnPreferenceChangeListener(
|
||||||
(preference, newValue) -> {
|
(preference, newValue) -> {
|
||||||
requireSettingsActivity().setDynamicColors(Boolean.TRUE.equals(newValue));
|
requireSettingsActivity().setDynamicColors(Boolean.TRUE.equals(newValue));
|
||||||
|
|
Loading…
Add table
Reference in a new issue