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:
authorFlorian <64581222+fm-sys@users.noreply.github.com>2020-12-13 18:45:03 +0300
committerNiedermann IT-Dienstleistungen <stefan-niedermann@users.noreply.github.com>2020-12-15 12:29:56 +0300
commit5e1601d41ebd469fcffc4aa37dac78eead43bea8 (patch)
tree2be81c28af401a74c163da8b004ca091a327b5ee /app/src/main/res/values
parent9e72002893a304705e0e05a02b8af5d1be69d75f (diff)
move "system default" entry to top of dark mode settings
Diffstat (limited to 'app/src/main/res/values')
-rw-r--r--app/src/main/res/values/setup.xml6
-rw-r--r--app/src/main/res/values/strings.xml2
2 files changed, 4 insertions, 4 deletions
diff --git a/app/src/main/res/values/setup.xml b/app/src/main/res/values/setup.xml
index 92b6a4237..f8f43fb1e 100644
--- a/app/src/main/res/values/setup.xml
+++ b/app/src/main/res/values/setup.xml
@@ -30,17 +30,17 @@
<item>@string/pref_value_background_6_hours</item>
</string-array>
+ <!-- @see AppCompatDelegate#MODE_NIGHT_FOLLOW_SYSTEM -->
+ <string name="pref_value_theme_system_default" translatable="false">-1</string>
<!-- @see AppCompatDelegate#MODE_NIGHT_NO -->
<string name="pref_value_theme_light" translatable="false">1</string>
<!-- @see AppCompatDelegate#MODE_NIGHT_YES -->
<string name="pref_value_theme_dark" translatable="false">2</string>
- <!-- @see AppCompatDelegate#MODE_NIGHT_FOLLOW_SYSTEM -->
- <string name="pref_value_theme_system_default" translatable="false">-1</string>
<string-array name="darkMode_values">
+ <item>@string/pref_value_theme_system_default</item>
<item>@string/pref_value_theme_light</item>
<item>@string/pref_value_theme_dark</item>
- <item>@string/pref_value_theme_system_default</item>
</string-array>
<!-- To be concatenated with the account id -->
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 2b347e3f1..b19d97f7e 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -155,9 +155,9 @@
<string name="pref_value_wifi_and_mobile">Sync on Wi-Fi and mobile data</string>
<string name="pref_value_wifi_only">Sync only on Wi-Fi</string>
<string-array name="darkmode_entries">
+ <item>System Default</item>
<item>Light</item>
<item>Dark</item>
- <item>System Default</item>
</string-array>
<string name="unassigned_user">Unassigned %1$s</string>
<string name="no_activities">There are no activities on this card. You need to be connected to the internet to load and display activities.</string>