From 4cc6c2b21a38647315e8605905a82f743bb913fe Mon Sep 17 00:00:00 2001 From: Patrick Demers Date: Sat, 22 Oct 2022 01:39:36 -0500 Subject: Hide Karma (#1168) * feature/ability to hide karma * only hide karma in nav bar * center account name vertically when not showing karma --- .../navigationdrawer/HeaderSectionRecyclerViewAdapter.java | 9 ++++++++- .../infinityforreddit/utils/SharedPreferencesUtils.java | 1 + app/src/main/res/values/strings.xml | 1 + app/src/main/res/xml/navigation_drawer_preferences.xml | 6 ++++++ 4 files changed, 16 insertions(+), 1 deletion(-) (limited to 'app/src') diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/navigationdrawer/HeaderSectionRecyclerViewAdapter.java b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/navigationdrawer/HeaderSectionRecyclerViewAdapter.java index 55989855..bc051f76 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/navigationdrawer/HeaderSectionRecyclerViewAdapter.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/navigationdrawer/HeaderSectionRecyclerViewAdapter.java @@ -47,6 +47,7 @@ public class HeaderSectionRecyclerViewAdapter extends RecyclerView.AdapterSeparate Post And Comments in Landscape Mode Video autoplay will be disabled in the post detail page Use Bottom Toolbar in Media Viewer + Hide Account Karma Secure Mode Screenshot and video recording are not allowed. No preview in recent app screen. Lock Screen Animation 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" /> + + + \ No newline at end of file -- cgit v1.2.3