Unified the access keys to the preferences

This commit is contained in:
CappielloAntonio committed 2021-12-06 11:10:28 +01:00
1 parent bcc95f2ef0
commit 478ecdd3bb
2 files changed
+2 -2

No files matched your search

@@ -116,7 +116,7 @@ public class SettingsFragment extends PreferenceFragmentCompat {
@Override
public void onCreatePreferences(Bundle savedInstanceState, String rootKey) {
setPreferencesFromResource(R.xml.global_preferences, rootKey);
ListPreference themePreference = findPreference("theme");
ListPreference themePreference = findPreference(PreferenceUtil.THEME);
if (themePreference != null) {
themePreference.setOnPreferenceChangeListener(
(preference, newValue) -> {