aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/ml
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2020-06-04 14:43:57 +0000
committerAlex Ning <chineseperson5@gmail.com>2020-06-04 14:43:57 +0000
commit164560d06811f36ac3b18ec83e9bcab6cd3e5b76 (patch)
treeff3ec1f03a15ea03ff13edee5e7b1e9ebfea750c /app/src/main/java/ml
parentc37cc1bed372c7d6b632bedafbb283d08ed6c0bc (diff)
downloadinfinity-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.
Diffstat (limited to 'app/src/main/java/ml')
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/Adapter/PostRecyclerViewAdapter.java1
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);
}