mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-22 09:58:08 +00:00
Use an already defined string to improve readability
This commit is contained in:
parent
c318d60916
commit
74532f0cd2
@ -73,7 +73,7 @@ public class SettingsFragment extends PreferenceFragmentCompat {
|
||||
themeSelector.setDialogTitle(R.string.theme_dialog_title);
|
||||
themeSelector.setEntries(R.array.theme_list);
|
||||
themeSelector.setEntryValues(R.array.theme_list_values);
|
||||
themeSelector.setDefaultValue("default");
|
||||
themeSelector.setDefaultValue(ThemeUtil.DEFAULT_MODE);
|
||||
themeSelector.setSummaryProvider(ListPreference.SimpleSummaryProvider.getInstance());
|
||||
themeSelector.setOnPreferenceChangeListener((preference, newValue) -> {
|
||||
String themeValue = (String) newValue;
|
||||
|
Loading…
x
Reference in New Issue
Block a user