diff options
author | stefan-niedermann <info@niedermann.it> | 2019-02-07 01:35:49 +0300 |
---|---|---|
committer | stefan-niedermann <info@niedermann.it> | 2019-02-07 01:35:49 +0300 |
commit | 1998c04b3ec731b52ae50e004a7ae8c93561edcf (patch) | |
tree | bc35c0c16ce14ffd32b4f62cd58c5157308c0849 /app/src/main/res/xml | |
parent | b1b2d64cb754e7409a5829d7ef6476412f0afce4 (diff) |
#519 Synchronize on Wi-Fi only
- Add preference
- Add check in isSyncPossible()
- Add strings and resources
Diffstat (limited to 'app/src/main/res/xml')
-rw-r--r-- | app/src/main/res/xml/preferences.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/src/main/res/xml/preferences.xml b/app/src/main/res/xml/preferences.xml index b6ff1db7..c60e3062 100644 --- a/app/src/main/res/xml/preferences.xml +++ b/app/src/main/res/xml/preferences.xml @@ -25,6 +25,13 @@ android:summary="%s" android:title="@string/settings_theme_title" /> + <SwitchPreference + android:defaultValue="@string/pref_value_wifi_and_mobile" + android:icon="@drawable/ic_insert_link_black_24dp" + android:key="@string/pref_key_wifi_only" + android:summary="%s" + android:title="@string/settings_theme_wifi_only" /> + <PreferenceScreen android:key="@string/pref_key_certs" android:persistent="false" |