Add an option in settings: Collapse Reddit Section.

This commit is contained in:
Alex Ning 2021-07-18 08:54:48 +08:00
parent 9e1f4edf44
commit cac9503eb5
2 changed files with 6 additions and 0 deletions

View File

@ -572,6 +572,7 @@
<string name="settings_swipe_between_posts_title">Swipe Between Posts</string> <string name="settings_swipe_between_posts_title">Swipe Between Posts</string>
<string name="settings_navigation_drawer_title">Navigation Drawer</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_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_post_section_title">Collapse Post Section</string>
<string name="settings_collapse_preferences_section_title">Collapse Preferences 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> <string name="settings_collapse_favorite_subreddits_section_title">Collapse Favorite Subreddits Section</string>

View File

@ -16,6 +16,11 @@
app:key="collapse_account_section" app:key="collapse_account_section"
app:title="@string/settings_collapse_account_section_title" /> app:title="@string/settings_collapse_account_section_title" />
<SwitchPreference
app:defaultValue="false"
app:key="collapse_reddit_section"
app:title="@string/settings_collapse_reddit_section_title" />
<SwitchPreference <SwitchPreference
app:defaultValue="false" app:defaultValue="false"
app:key="collapse_post_section" app:key="collapse_post_section"