mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2025-10-05 21:39:50 +02:00
New option: Disable Image Preview in Data Saving Mode.
This commit is contained in:
5
app/src/main/res/drawable/ic_gallery_24dp.xml
Normal file
5
app/src/main/res/drawable/ic_gallery_24dp.xml
Normal file
@@ -0,0 +1,5 @@
|
||||
<vector android:height="24dp" android:tint="#FFFFFF"
|
||||
android:viewportHeight="24" android:viewportWidth="24"
|
||||
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="@android:color/white" android:pathData="M20,4v12L8,16L8,4h12m0,-2L8,2c-1.1,0 -2,0.9 -2,2v12c0,1.1 0.9,2 2,2h12c1.1,0 2,-0.9 2,-2L22,4c0,-1.1 -0.9,-2 -2,-2zM11.5,11.67l1.69,2.26 2.48,-3.1L19,15L9,15zM2,6v14c0,1.1 0.9,2 2,2h14v-2L4,20L4,6L2,6z"/>
|
||||
</vector>
|
@@ -503,6 +503,7 @@
|
||||
<string name="settings_subreddit_filter_popular_and_all">In r/popular and r/all</string>
|
||||
<string name="settings_credits_ufo_capturing_animation_title">UFO Capturing Animation</string>
|
||||
<string name="settings_hide_subreddit_description_title">Hide Subreddit Description</string>
|
||||
<string name="settings_disable_image_preview_title">Disable Image Preview in Data Saving Mode</string>
|
||||
|
||||
<string name="no_link_available">Cannot get the link</string>
|
||||
|
||||
|
@@ -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>
|
Reference in New Issue
Block a user