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:
authorstefan-niedermann <info@niedermann.it>2019-12-14 00:20:31 +0300
committerstefan-niedermann <info@niedermann.it>2019-12-27 15:20:40 +0300
commitfee0b66f4b1800248634f95afd56ff4fcc490a7a (patch)
treedf772613daf29404cda77973c7a1a3b91958e5f0 /app/src/main/res/xml
parentfc4354350ffcef31eaef3e48652414599ce59fcd (diff)
#230 Background synchronization
Make setting to en/disable the background sync (Off, 15 Minutes, 1 Hour, 6 Hours)
Diffstat (limited to 'app/src/main/res/xml')
-rw-r--r--app/src/main/res/xml/settings.xml12
1 files changed, 10 insertions, 2 deletions
diff --git a/app/src/main/res/xml/settings.xml b/app/src/main/res/xml/settings.xml
index 98a7220fa..6a24dce9e 100644
--- a/app/src/main/res/xml/settings.xml
+++ b/app/src/main/res/xml/settings.xml
@@ -3,14 +3,22 @@
<SwitchPreference
android:defaultValue="@string/pref_value_wifi_and_mobile"
- android:icon="@drawable/ic_sync_grey600_24dp"
+ android:icon="@drawable/ic_network_wifi_grey600_24dp"
android:key="@string/pref_key_wifi_only"
android:title="@string/pref_value_wifi_only" />
+ <ListPreference
+ android:defaultValue="@string/minutes_15"
+ android:entries="@array/background_sync_entries"
+ android:entryValues="@array/background_sync_values"
+ android:icon="@drawable/ic_sync_grey600_24dp"
+ android:key="@string/pref_key_background_sync"
+ android:summary="%s"
+ android:title="@string/settings_background_sync" />
+
<SwitchPreference
android:defaultValue="@string/pref_value_theme_light"
android:icon="@drawable/ic_brightness_2_grey600_24dp"
android:key="@string/pref_key_dark_theme"
android:title="@string/settings_theme_title" />
-
</PreferenceScreen>