diff options
author | Alex Ning <chineseperson5@gmail.com> | 2020-11-06 14:39:53 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2020-11-06 14:39:53 +0000 |
commit | 7e446c9fcb3e94e75d3a20ccc8575aa7fde76887 (patch) | |
tree | cfd6a7d0672a426abc6b5ae7119c6369183b58c0 /app/src/main/res | |
parent | 4a67e0263962561be3fbaae5652a37fc73b9e7f2 (diff) | |
download | infinity-for-reddit-7e446c9fcb3e94e75d3a20ccc8575aa7fde76887.tar infinity-for-reddit-7e446c9fcb3e94e75d3a20ccc8575aa7fde76887.tar.gz infinity-for-reddit-7e446c9fcb3e94e75d3a20ccc8575aa7fde76887.tar.bz2 infinity-for-reddit-7e446c9fcb3e94e75d3a20ccc8575aa7fde76887.tar.lz infinity-for-reddit-7e446c9fcb3e94e75d3a20ccc8575aa7fde76887.tar.xz infinity-for-reddit-7e446c9fcb3e94e75d3a20ccc8575aa7fde76887.tar.zst infinity-for-reddit-7e446c9fcb3e94e75d3a20ccc8575aa7fde76887.zip |
Hiding subreddit description is available.
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/values/strings.xml | 1 | ||||
-rw-r--r-- | app/src/main/res/xml/interface_preference.xml | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 3f293049..9041a5d1 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -502,6 +502,7 @@ <string name="settings_subreddit_filter_category">Hide Subreddits</string> <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="no_link_available">Cannot get the link</string> diff --git a/app/src/main/res/xml/interface_preference.xml b/app/src/main/res/xml/interface_preference.xml index 0b767200..7e2fec08 100644 --- a/app/src/main/res/xml/interface_preference.xml +++ b/app/src/main/res/xml/interface_preference.xml @@ -33,6 +33,11 @@ app:title="@string/settings_time_format_title" app:fragment="ml.docilealligator.infinityforreddit.Settings.TimeFormatPreferenceFragment" /> + <SwitchPreference + app:defaultValue="false" + app:key="hide_subreddit_description" + app:title="@string/settings_hide_subreddit_description_title" /> + <PreferenceCategory app:title="@string/settings_category_post_and_comment_title" /> |