diff options
author | Alex Ning <chineseperson5@gmail.com> | 2020-06-20 14:02:18 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2020-06-20 14:02:18 +0000 |
commit | dce5777fbbaa7d8611c819fe3a75ab7f85a9a09d (patch) | |
tree | e9bb673b424c4e0816e0eb88d76409a05b16596e /app/src/main/res/xml | |
parent | 9f16b6c25aedce4511f9190f9f80e5ae782de55f (diff) | |
download | infinity-for-reddit-dce5777fbbaa7d8611c819fe3a75ab7f85a9a09d.tar infinity-for-reddit-dce5777fbbaa7d8611c819fe3a75ab7f85a9a09d.tar.gz infinity-for-reddit-dce5777fbbaa7d8611c819fe3a75ab7f85a9a09d.tar.bz2 infinity-for-reddit-dce5777fbbaa7d8611c819fe3a75ab7f85a9a09d.tar.lz infinity-for-reddit-dce5777fbbaa7d8611c819fe3a75ab7f85a9a09d.tar.xz infinity-for-reddit-dce5777fbbaa7d8611c819fe3a75ab7f85a9a09d.tar.zst infinity-for-reddit-dce5777fbbaa7d8611c819fe3a75ab7f85a9a09d.zip |
Add an option to automatically try loading removed gfycat videos on Redgifs.
Diffstat (limited to 'app/src/main/res/xml')
-rw-r--r-- | app/src/main/res/xml/main_preferences.xml | 11 | ||||
-rw-r--r-- | app/src/main/res/xml/video_preferences.xml (renamed from app/src/main/res/xml/autoplay_preferences.xml) | 14 |
2 files changed, 17 insertions, 8 deletions
diff --git a/app/src/main/res/xml/main_preferences.xml b/app/src/main/res/xml/main_preferences.xml index f332a49c..c15bfee4 100644 --- a/app/src/main/res/xml/main_preferences.xml +++ b/app/src/main/res/xml/main_preferences.xml @@ -29,14 +29,9 @@ app:title="@string/settings_open_link_in_app_title" /> <Preference - app:title="@string/settings_video_autoplay_title" - app:fragment="ml.docilealligator.infinityforreddit.Settings.AutoplayPreferenceFragment" /> - - <SwitchPreference - app:defaultValue="false" - app:key="mute_video" - app:icon="@drawable/ic_mute_preferences_24dp" - app:title="@string/settings_mute_video_title" /> + app:title="@string/settigns_video_title" + android:icon="@drawable/ic_outline_video_24dp" + app:fragment="ml.docilealligator.infinityforreddit.Settings.VideoPreferenceFragment" /> <SwitchPreference app:defaultValue="false" diff --git a/app/src/main/res/xml/autoplay_preferences.xml b/app/src/main/res/xml/video_preferences.xml index 5cc344aa..bb690347 100644 --- a/app/src/main/res/xml/autoplay_preferences.xml +++ b/app/src/main/res/xml/video_preferences.xml @@ -2,6 +2,20 @@ <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"> + <SwitchPreference + app:defaultValue="false" + app:key="mute_video" + app:icon="@drawable/ic_mute_preferences_24dp" + app:title="@string/settings_mute_video_title" /> + + <SwitchPreference + app:defaultValue="true" + app:key="automatically_try_redgifs" + app:title="@string/settings_automatically_try_redgifs_title" /> + + <PreferenceCategory + app:title="@string/settings_video_autoplay_title" /> + <ListPreference app:defaultValue="0" android:entries="@array/settings_video_autoplay" |