From 3a69e028673181f014630bb68205166dc39ded0a Mon Sep 17 00:00:00 2001 From: Docile-Alligator Date: Mon, 21 Feb 2022 15:38:17 +0800 Subject: [PATCH] New option: Settings->Interface->Post Details->Hide Upvote Ratio. --- .../adapters/PostDetailRecyclerViewAdapter.java | 8 +++++++- .../infinityforreddit/utils/SharedPreferencesUtils.java | 1 + app/src/main/res/values/strings.xml | 1 + app/src/main/res/xml/post_details_preferences.xml | 5 +++++ 4 files changed, 14 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostDetailRecyclerViewAdapter.java b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostDetailRecyclerViewAdapter.java index 954853f1..d64a9d1b 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostDetailRecyclerViewAdapter.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostDetailRecyclerViewAdapter.java @@ -166,6 +166,7 @@ public class PostDetailRecyclerViewAdapter extends RecyclerView.AdapterShow Author Avatar Reddit User Agreement Always Show the Number of Child Comments + Hide Upvote Ratio Cannot get the link diff --git a/app/src/main/res/xml/post_details_preferences.xml b/app/src/main/res/xml/post_details_preferences.xml index ceb07dcb..cf856634 100644 --- a/app/src/main/res/xml/post_details_preferences.xml +++ b/app/src/main/res/xml/post_details_preferences.xml @@ -18,6 +18,11 @@ app:key="hide_post_flair" app:title="@string/settings_hide_post_flair" /> + +