aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorMetalNeo <53447663+MetalNeo@users.noreply.github.com>2021-12-20 13:13:08 +0000
committerGitHub <noreply@github.com>2021-12-20 13:13:08 +0000
commit34127032de45b6f860d998daf3adfebcb029e0fc (patch)
treed8f896a200b5eb60cb3ff74a17370eefe883a34b /app/src/main/res
parent21e7dad1b04f7b1753aa50efc2cf760568c9595f (diff)
downloadinfinity-for-reddit-34127032de45b6f860d998daf3adfebcb029e0fc.tar
infinity-for-reddit-34127032de45b6f860d998daf3adfebcb029e0fc.tar.gz
infinity-for-reddit-34127032de45b6f860d998daf3adfebcb029e0fc.tar.bz2
infinity-for-reddit-34127032de45b6f860d998daf3adfebcb029e0fc.tar.lz
infinity-for-reddit-34127032de45b6f860d998daf3adfebcb029e0fc.tar.xz
infinity-for-reddit-34127032de45b6f860d998daf3adfebcb029e0fc.tar.zst
infinity-for-reddit-34127032de45b6f860d998daf3adfebcb029e0fc.zip
Added Setting for Separate NSFW Download Folder (#584)
Add an option to separate NSFW media downloads
Diffstat (limited to '')
-rw-r--r--app/src/main/res/values/strings.xml2
-rw-r--r--app/src/main/res/xml/download_location_preferences.xml9
2 files changed, 11 insertions, 0 deletions
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index ded35ce5..6d795c87 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -516,6 +516,8 @@
<string name="settings_image_download_location_title">Image Download Location</string>
<string name="settings_gif_download_location_title">Gif Download Location</string>
<string name="settings_video_download_location_title">Video Download Location</string>
+ <string name="settings_nsfw_download_location_title">NSFW Download Location</string>
+ <string name="settings_nsfw_separate_folder">Separate Folder for NSFW Posts</string>
<string name="settings_separate_folder_for_each_subreddit">Separate Folder for Each Subreddit</string>
<string name="settings_swipe_action_title">Swipe Action</string>
<string name="settings_swipe_action_haptic_feedback_title">Haptic Feedback</string>
diff --git a/app/src/main/res/xml/download_location_preferences.xml b/app/src/main/res/xml/download_location_preferences.xml
index e8215fe9..4e2c1f7a 100644
--- a/app/src/main/res/xml/download_location_preferences.xml
+++ b/app/src/main/res/xml/download_location_preferences.xml
@@ -11,6 +11,15 @@
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" />
+
<SwitchPreference
app:defaultValue="false"
app:key="separate_folder_for_each_subreddit"