diff options
author | Alex Ning <chineseperson5@gmail.com> | 2020-06-04 14:43:57 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2020-06-04 14:43:57 +0000 |
commit | 164560d06811f36ac3b18ec83e9bcab6cd3e5b76 (patch) | |
tree | ff3ec1f03a15ea03ff13edee5e7b1e9ebfea750c | |
parent | c37cc1bed372c7d6b632bedafbb283d08ed6c0bc (diff) | |
download | infinity-for-reddit-164560d06811f36ac3b18ec83e9bcab6cd3e5b76.tar infinity-for-reddit-164560d06811f36ac3b18ec83e9bcab6cd3e5b76.tar.gz infinity-for-reddit-164560d06811f36ac3b18ec83e9bcab6cd3e5b76.tar.bz2 infinity-for-reddit-164560d06811f36ac3b18ec83e9bcab6cd3e5b76.tar.lz infinity-for-reddit-164560d06811f36ac3b18ec83e9bcab6cd3e5b76.tar.xz infinity-for-reddit-164560d06811f36ac3b18ec83e9bcab6cd3e5b76.tar.zst infinity-for-reddit-164560d06811f36ac3b18ec83e9bcab6cd3e5b76.zip |
Fix flairs don't show in post list.
-rw-r--r-- | app/src/main/java/ml/docilealligator/infinityforreddit/Adapter/PostRecyclerViewAdapter.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/Adapter/PostRecyclerViewAdapter.java b/app/src/main/java/ml/docilealligator/infinityforreddit/Adapter/PostRecyclerViewAdapter.java index a193b56f..eea62a78 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/Adapter/PostRecyclerViewAdapter.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/Adapter/PostRecyclerViewAdapter.java @@ -456,6 +456,7 @@ public class PostRecyclerViewAdapter extends PagedListAdapter<Post, RecyclerView } if (flair != null && !flair.equals("")) { + ((PostBaseViewHolder) holder).flairTextView.setVisibility(View.VISIBLE); Utils.setHTMLWithImageToTextView(((PostBaseViewHolder) holder).flairTextView, flair); } |