aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2021-03-14 16:18:25 +0000
committerAlex Ning <chineseperson5@gmail.com>2021-03-14 16:18:25 +0000
commit57fd9edaff2beae6666920d4d17500908d655540 (patch)
treed3f4dc1294c723d2ce965e98db044b0aab9c7490 /app/src/main/res
parentc0937304ccbd5d44c89ecc2b7674355bc24eb755 (diff)
downloadinfinity-for-reddit-57fd9edaff2beae6666920d4d17500908d655540.tar
infinity-for-reddit-57fd9edaff2beae6666920d4d17500908d655540.tar.gz
infinity-for-reddit-57fd9edaff2beae6666920d4d17500908d655540.tar.bz2
infinity-for-reddit-57fd9edaff2beae6666920d4d17500908d655540.tar.lz
infinity-for-reddit-57fd9edaff2beae6666920d4d17500908d655540.tar.xz
infinity-for-reddit-57fd9edaff2beae6666920d4d17500908d655540.tar.zst
infinity-for-reddit-57fd9edaff2beae6666920d4d17500908d655540.zip
New options: hide favorite subreddits and subscribed subreddits in the navigation drawer.
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/values/strings.xml2
-rw-r--r--app/src/main/res/xml/navigation_drawer_preferences.xml10
2 files changed, 12 insertions, 0 deletions
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 986e5376..70f5f6eb 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -553,6 +553,8 @@
<string name="settings_collapse_preferences_section_title">Collapse Preferences Section</string>
<string name="settings_collapse_favorite_subreddits_section_title">Collapse Favorite Subreddits Section</string>
<string name="settings_collapse_subscribed_subreddits_section_title">Collapse Subscribed Subreddits Section</string>
+ <string name="settings_hide_favorite_subreddits_sections_title">Hide Favorite Subreddits Section</string>
+ <string name="settings_hide_subscribed_subreddits_sections_title">Hide Subscribed Subreddits Section</string>
<string name="no_link_available">Cannot get the link</string>
diff --git a/app/src/main/res/xml/navigation_drawer_preferences.xml b/app/src/main/res/xml/navigation_drawer_preferences.xml
index 4fa0d064..12873fa3 100644
--- a/app/src/main/res/xml/navigation_drawer_preferences.xml
+++ b/app/src/main/res/xml/navigation_drawer_preferences.xml
@@ -31,4 +31,14 @@
app:key="collapse_subscribed_subreddits_section"
app:title="@string/settings_collapse_subscribed_subreddits_section_title" />
+ <SwitchPreference
+ app:defaultValue="false"
+ app:key="hide_favorite_subreddits_sections"
+ app:title="@string/settings_hide_favorite_subreddits_sections_title" />
+
+ <SwitchPreference
+ app:defaultValue="false"
+ app:key="hide_subscribed_subreddits_sections"
+ app:title="@string/settings_hide_subscribed_subreddits_sections_title" />
+
</PreferenceScreen> \ No newline at end of file