diff options
author | Alex Ning <chineseperson5@gmail.com> | 2021-07-18 14:39:00 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2021-07-18 14:39:00 +0000 |
commit | f77ba0ef2329e7fed7a294d5baa654e5851e696d (patch) | |
tree | 28bc59d0ec75d52fcc3031f07c47ba39e2b2b2b1 /app/src/main/java/ml/docilealligator | |
parent | 00917fc1c19d7aee510062ca0830505399f8fc24 (diff) | |
download | infinity-for-reddit-f77ba0ef2329e7fed7a294d5baa654e5851e696d.tar infinity-for-reddit-f77ba0ef2329e7fed7a294d5baa654e5851e696d.tar.gz infinity-for-reddit-f77ba0ef2329e7fed7a294d5baa654e5851e696d.tar.bz2 infinity-for-reddit-f77ba0ef2329e7fed7a294d5baa654e5851e696d.tar.lz infinity-for-reddit-f77ba0ef2329e7fed7a294d5baa654e5851e696d.tar.xz infinity-for-reddit-f77ba0ef2329e7fed7a294d5baa654e5851e696d.tar.zst infinity-for-reddit-f77ba0ef2329e7fed7a294d5baa654e5851e696d.zip |
Show title on trending searches.
Diffstat (limited to 'app/src/main/java/ml/docilealligator')
-rw-r--r-- | app/src/main/java/ml/docilealligator/infinityforreddit/adapters/TrendingSearchRecyclerViewAdapter.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/TrendingSearchRecyclerViewAdapter.java b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/TrendingSearchRecyclerViewAdapter.java index 2e7264e4..b550b91e 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/TrendingSearchRecyclerViewAdapter.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/TrendingSearchRecyclerViewAdapter.java @@ -86,6 +86,8 @@ public class TrendingSearchRecyclerViewAdapter extends RecyclerView.Adapter<Recy ((TrendingSearchViewHolder) holder).noPreviewLinkImageView.setVisibility(View.VISIBLE); } } + + ((TrendingSearchViewHolder) holder).titleTextView.setText(trendingSearch.displayString); } } @@ -207,7 +209,6 @@ public class TrendingSearchRecyclerViewAdapter extends RecyclerView.Adapter<Recy noPreviewLinkImageView.setColorFilter(customThemeWrapper.getNoPreviewPostTypeIconTint(), android.graphics.PorterDuff.Mode.SRC_IN); progressBar.setIndeterminateTintList(ColorStateList.valueOf(customThemeWrapper.getColorAccent())); errorTextView.setTextColor(customThemeWrapper.getPrimaryTextColor()); - titleTextView.setTextColor(customThemeWrapper.getPostTitleColor()); itemView.setOnClickListener(view -> { itemClickListener.onClick(trendingSearches.get(getBindingAdapterPosition())); |