diff --git a/src/main/java/com/owncloud/android/ui/activity/SettingsActivity.java b/src/main/java/com/owncloud/android/ui/activity/SettingsActivity.java index fe59281ece..bdd4ee49b3 100644 --- a/src/main/java/com/owncloud/android/ui/activity/SettingsActivity.java +++ b/src/main/java/com/owncloud/android/ui/activity/SettingsActivity.java @@ -695,7 +695,7 @@ public class SettingsActivity extends ThemedPreferenceActivity loadStoragePath(); - ListPreference themePref = (ListPreference) findPreference("darkTheme"); + ListPreference themePref = (ListPreference) findPreference("darkMode"); List themeEntries = new ArrayList<>(3); themeEntries.add(getString(R.string.prefs_value_theme_light)); diff --git a/src/main/res/xml/preferences.xml b/src/main/res/xml/preferences.xml index c95fc9ac82..03ea743050 100644 --- a/src/main/res/xml/preferences.xml +++ b/src/main/res/xml/preferences.xml @@ -28,7 +28,7 @@ android:key="storage_path"/>