aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/xml
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2020-11-07 03:24:43 +0000
committerAlex Ning <chineseperson5@gmail.com>2020-11-07 03:24:43 +0000
commita4b95aee241b1d4f79b709ce06b95b0818a130af (patch)
treeb0300b34b110ef483e6476c89bba3600f61b7381 /app/src/main/res/xml
parent7e446c9fcb3e94e75d3a20ccc8575aa7fde76887 (diff)
downloadinfinity-for-reddit-a4b95aee241b1d4f79b709ce06b95b0818a130af.tar
infinity-for-reddit-a4b95aee241b1d4f79b709ce06b95b0818a130af.tar.gz
infinity-for-reddit-a4b95aee241b1d4f79b709ce06b95b0818a130af.tar.bz2
infinity-for-reddit-a4b95aee241b1d4f79b709ce06b95b0818a130af.tar.lz
infinity-for-reddit-a4b95aee241b1d4f79b709ce06b95b0818a130af.tar.xz
infinity-for-reddit-a4b95aee241b1d4f79b709ce06b95b0818a130af.tar.zst
infinity-for-reddit-a4b95aee241b1d4f79b709ce06b95b0818a130af.zip
New option: Disable Image Preview in Data Saving Mode.
Diffstat (limited to 'app/src/main/res/xml')
-rw-r--r--app/src/main/res/xml/data_saving_mode_preferences.xml13
1 files changed, 9 insertions, 4 deletions
diff --git a/app/src/main/res/xml/data_saving_mode_preferences.xml b/app/src/main/res/xml/data_saving_mode_preferences.xml
index f120afe5..e635f2db 100644
--- a/app/src/main/res/xml/data_saving_mode_preferences.xml
+++ b/app/src/main/res/xml/data_saving_mode_preferences.xml
@@ -2,6 +2,11 @@
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
+ <Preference
+ app:icon="@drawable/ic_info_preference_24dp"
+ app:summary="@string/settings_data_saving_mode_info_summary"
+ app:enabled="false" />
+
<ListPreference
app:defaultValue="0"
app:key="data_saving_mode"
@@ -10,9 +15,9 @@
app:entryValues="@array/settings_data_saving_mode_values"
app:useSimpleSummaryProvider="true" />
- <Preference
- app:icon="@drawable/ic_info_preference_24dp"
- app:summary="@string/settings_data_saving_mode_info_summary"
- app:enabled="false" />
+ <SwitchPreference
+ app:defaultValue="false"
+ app:key="disable_image_preview"
+ android:title="@string/settings_disable_image_preview_title" />
</PreferenceScreen> \ No newline at end of file