diff options
author | Alex Ning <chineseperson5@gmail.com> | 2021-12-20 14:16:33 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2021-12-20 14:16:33 +0000 |
commit | a83640f01a70eabc53691ccd269711f44fc4dfd1 (patch) | |
tree | ec274023059ad1c91a71b1cea43007278f6120f0 /app/src/main/res/xml | |
parent | dc4fa2e6b8e27e987e8730e5d5e26a0dd2a0411d (diff) | |
download | infinity-for-reddit-a83640f01a70eabc53691ccd269711f44fc4dfd1.tar infinity-for-reddit-a83640f01a70eabc53691ccd269711f44fc4dfd1.tar.gz infinity-for-reddit-a83640f01a70eabc53691ccd269711f44fc4dfd1.tar.bz2 infinity-for-reddit-a83640f01a70eabc53691ccd269711f44fc4dfd1.tar.lz infinity-for-reddit-a83640f01a70eabc53691ccd269711f44fc4dfd1.tar.xz infinity-for-reddit-a83640f01a70eabc53691ccd269711f44fc4dfd1.tar.zst infinity-for-reddit-a83640f01a70eabc53691ccd269711f44fc4dfd1.zip |
Fix NSFW download location option not working. Hide options in Data Saving Mode settings if Data Saving Mode is off.
Diffstat (limited to 'app/src/main/res/xml')
-rw-r--r-- | app/src/main/res/xml/download_location_preferences.xml | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/app/src/main/res/xml/download_location_preferences.xml b/app/src/main/res/xml/download_location_preferences.xml index 4e2c1f7a..3de56ef3 100644 --- a/app/src/main/res/xml/download_location_preferences.xml +++ b/app/src/main/res/xml/download_location_preferences.xml @@ -11,17 +11,21 @@ app:key="video_download_location" app:title="@string/settings_video_download_location_title" /> - <Preference - app:key="nsfw_download_location" - app:title="@string/settings_nsfw_download_location_title" /> - <SwitchPreference app:defaultValue="false" - app:key="separate_nsfw_folder" - app:title="@string/settings_nsfw_separate_folder" /> + app:key="separate_folder_for_each_subreddit" + app:title="@string/settings_separate_folder_for_each_subreddit" /> + + <PreferenceCategory + app:title="@string/nsfw" /> <SwitchPreference app:defaultValue="false" - app:key="separate_folder_for_each_subreddit" - app:title="@string/settings_separate_folder_for_each_subreddit" /> + app:key="save_nsfw_media_in_different_folder" + app:title="@string/settings_save_nsfw_media_in_different_folder_title" + app:summary="@string/settings_save_nsfw_media_in_different_folder_summary" /> + + <Preference + app:key="nsfw_download_location" + app:title="@string/settings_nsfw_download_location_title" /> </PreferenceScreen>
\ No newline at end of file |