Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/stefan-niedermann/nextcloud-deck.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/xml/settings.xml')
-rw-r--r--app/src/main/res/xml/settings.xml7
1 files changed, 5 insertions, 2 deletions
diff --git a/app/src/main/res/xml/settings.xml b/app/src/main/res/xml/settings.xml
index 6d67622bd..1471e98ce 100644
--- a/app/src/main/res/xml/settings.xml
+++ b/app/src/main/res/xml/settings.xml
@@ -19,10 +19,13 @@
</it.niedermann.nextcloud.deck.ui.branding.BrandedPreferenceCategory>
<it.niedermann.nextcloud.deck.ui.branding.BrandedPreferenceCategory android:title="@string/simple_appearance">
- <it.niedermann.nextcloud.deck.ui.branding.BrandedSwitchPreference
- android:defaultValue="@string/pref_value_theme_light"
+ <ListPreference
+ android:defaultValue="@string/pref_value_theme_system_default"
+ android:entries="@array/darkmode_entries"
+ android:entryValues="@array/darkMode_values"
android:icon="@drawable/ic_brightness_2_grey600_24dp"
android:key="@string/pref_key_dark_theme"
+ android:summary="%s"
android:title="@string/settings_theme_title" />
<it.niedermann.nextcloud.deck.ui.branding.BrandedSwitchPreference