diff options
author | Patrick Demers <patrickdemers6@gmail.com> | 2022-10-22 06:39:36 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-22 06:39:36 +0000 |
commit | 4cc6c2b21a38647315e8605905a82f743bb913fe (patch) | |
tree | ac3fd1156995af342933571834d0cf8e173ffd2d /app/src/main/res | |
parent | 5e3eaafe268fc64e8c7d92187e6c2447addc410d (diff) | |
download | infinity-for-reddit-4cc6c2b21a38647315e8605905a82f743bb913fe.tar infinity-for-reddit-4cc6c2b21a38647315e8605905a82f743bb913fe.tar.gz infinity-for-reddit-4cc6c2b21a38647315e8605905a82f743bb913fe.tar.bz2 infinity-for-reddit-4cc6c2b21a38647315e8605905a82f743bb913fe.tar.lz infinity-for-reddit-4cc6c2b21a38647315e8605905a82f743bb913fe.tar.xz infinity-for-reddit-4cc6c2b21a38647315e8605905a82f743bb913fe.tar.zst infinity-for-reddit-4cc6c2b21a38647315e8605905a82f743bb913fe.zip |
Hide Karma (#1168)
* feature/ability to hide karma
* only hide karma in nav bar
* center account name vertically when not showing karma
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/navigation_drawer_preferences.xml | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 896a4a3d..46ba6923 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -611,6 +611,7 @@ <string name="settings_separate_post_and_comments_in_landscape_mode_title">Separate Post And Comments in Landscape Mode</string> <string name="settings_separate_post_and_comments_summary">Video autoplay will be disabled in the post detail page</string> <string name="settings_use_bottom_toolbar_in_media_viewer_title">Use Bottom Toolbar in Media Viewer</string> + <string name="settings_navigation_drawer_enable_hide_karma_title">Hide Account Karma</string> <string name="settings_secure_mode_title">Secure Mode</string> <string name="settings_secure_mode_summary">Screenshot and video recording are not allowed. No preview in recent app screen.</string> <string name="settings_credits_lock_screen_animation_title">Lock Screen Animation</string> diff --git a/app/src/main/res/xml/navigation_drawer_preferences.xml b/app/src/main/res/xml/navigation_drawer_preferences.xml index 85879aee..db57a2e2 100644 --- a/app/src/main/res/xml/navigation_drawer_preferences.xml +++ b/app/src/main/res/xml/navigation_drawer_preferences.xml @@ -51,4 +51,10 @@ app:key="hide_subscribed_subreddits_sections" app:title="@string/settings_hide_subscribed_subreddits_sections_title" /> + <ml.docilealligator.infinityforreddit.customviews.CustomFontSwitchPreference + app:defaultValue="false" + app:key="hide_account_karma" + app:title="@string/settings_navigation_drawer_enable_hide_karma_title" /> + + </PreferenceScreen>
\ No newline at end of file |