mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 09:39:25 +03:00
Merge pull request #5012 from nextcloud/darkThemePref
fix dark theme preference for dev version: use different preference name
This commit is contained in:
commit
1656f64ad9
2 changed files with 2 additions and 2 deletions
|
@ -695,7 +695,7 @@ public class SettingsActivity extends ThemedPreferenceActivity
|
|||
|
||||
loadStoragePath();
|
||||
|
||||
ListPreference themePref = (ListPreference) findPreference("darkTheme");
|
||||
ListPreference themePref = (ListPreference) findPreference("darkMode");
|
||||
|
||||
List<String> themeEntries = new ArrayList<>(3);
|
||||
themeEntries.add(getString(R.string.prefs_value_theme_light));
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
android:key="storage_path"/>
|
||||
<ListPreference
|
||||
android:title="@string/prefs_theme_title"
|
||||
android:key="darkTheme"
|
||||
android:key="darkMode"
|
||||
android:summary="%s" />
|
||||
</PreferenceCategory>
|
||||
<PreferenceCategory
|
||||
|
|
Loading…
Reference in a new issue