aboutsummaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2021-07-18 00:54:48 +0000
committerAlex Ning <chineseperson5@gmail.com>2021-07-18 00:54:48 +0000
commitcac9503eb56d2ae584cdae84506e1237c2bec148 (patch)
tree3d26ee210f1987b8a806c70e36efcbcca137e122 /app/src/main
parent9e1f4edf4477bd5d8ddf7dca6f6b1ef93f87724f (diff)
downloadinfinity-for-reddit-cac9503eb56d2ae584cdae84506e1237c2bec148.tar
infinity-for-reddit-cac9503eb56d2ae584cdae84506e1237c2bec148.tar.gz
infinity-for-reddit-cac9503eb56d2ae584cdae84506e1237c2bec148.tar.bz2
infinity-for-reddit-cac9503eb56d2ae584cdae84506e1237c2bec148.tar.lz
infinity-for-reddit-cac9503eb56d2ae584cdae84506e1237c2bec148.tar.xz
infinity-for-reddit-cac9503eb56d2ae584cdae84506e1237c2bec148.tar.zst
infinity-for-reddit-cac9503eb56d2ae584cdae84506e1237c2bec148.zip
Add an option in settings: Collapse Reddit Section.
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/res/values/strings.xml1
-rw-r--r--app/src/main/res/xml/navigation_drawer_preferences.xml5
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 3f2d4621..1fe79042 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -572,6 +572,7 @@
<string name="settings_swipe_between_posts_title">Swipe Between Posts</string>
<string name="settings_navigation_drawer_title">Navigation Drawer</string>
<string name="settings_collapse_account_section_title">Collapse Account Section</string>
+ <string name="settings_collapse_reddit_section_title">Collapse Reddit Section</string>
<string name="settings_collapse_post_section_title">Collapse Post Section</string>
<string name="settings_collapse_preferences_section_title">Collapse Preferences Section</string>
<string name="settings_collapse_favorite_subreddits_section_title">Collapse Favorite Subreddits Section</string>
diff --git a/app/src/main/res/xml/navigation_drawer_preferences.xml b/app/src/main/res/xml/navigation_drawer_preferences.xml
index 3fb31b88..b34a32e7 100644
--- a/app/src/main/res/xml/navigation_drawer_preferences.xml
+++ b/app/src/main/res/xml/navigation_drawer_preferences.xml
@@ -18,6 +18,11 @@
<SwitchPreference
app:defaultValue="false"
+ app:key="collapse_reddit_section"
+ app:title="@string/settings_collapse_reddit_section_title" />
+
+ <SwitchPreference
+ app:defaultValue="false"
app:key="collapse_post_section"
app:title="@string/settings_collapse_post_section_title" />