Merge pull request #5012 from nextcloud/darkThemePref

fix dark theme preference for dev version: use different preference name
This commit is contained in:
Tobias Kaminsky 2019-12-16 11:48:05 +01:00 committed by GitHub
commit 1656f64ad9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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));

View file

@ -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