diff options
author | Christian Schneppe <christian@pix-art.de> | 2016-09-24 00:21:23 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2016-09-24 00:21:23 +0200 |
commit | ce44b8869e046a76ca7eca5c0de16662910312cb (patch) | |
tree | da2eff1bf25d38f07a5ffeefe968a310c302eca4 /src/main/res/xml/preferences.xml | |
parent | 41dd4a4573878d06e8592820d41e2c87860de9bd (diff) |
set different auto download filesizes for wifi, mobile, roaming
defaults:
* wifi = 10 MiB
* mobile = 256 KiB
* roaming = 1 Byte
Diffstat (limited to 'src/main/res/xml/preferences.xml')
-rw-r--r-- | src/main/res/xml/preferences.xml | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/src/main/res/xml/preferences.xml b/src/main/res/xml/preferences.xml index 8c0ca30cd..a3f15ba1a 100644 --- a/src/main/res/xml/preferences.xml +++ b/src/main/res/xml/preferences.xml @@ -88,12 +88,26 @@ android:key="attachments" android:title="@string/pref_attachments"> <ListPreference - android:defaultValue="1048576" + android:defaultValue="10485760" android:entries="@array/filesizes" android:entryValues="@array/filesizes_values" - android:key="auto_accept_file_size" + android:key="auto_accept_file_size_wifi" android:summary="@string/pref_accept_files_summary" - android:title="@string/pref_accept_files" /> + android:title="@string/pref_accept_files_wifi" /> + <ListPreference + android:defaultValue="262144" + android:entries="@array/filesizes" + android:entryValues="@array/filesizes_values" + android:key="auto_accept_file_size_mobile" + android:summary="@string/pref_accept_files_summary" + android:title="@string/pref_accept_files_mobile" /> + <ListPreference + android:defaultValue="1" + android:entries="@array/filesizes" + android:entryValues="@array/filesizes_values" + android:key="auto_accept_file_size_roaming" + android:summary="@string/pref_accept_files_summary" + android:title="@string/pref_accept_files_mobileroaming" /> <ListPreference android:defaultValue="auto" android:entries="@array/picture_compression_entries" |