diff options
author | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2024-08-19 02:03:12 +0000 |
---|---|---|
committer | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2024-08-19 02:03:12 +0000 |
commit | 6a6735469b470f4c946895bc3592e4ad1e2610e2 (patch) | |
tree | 070893d9afa3d82cb0f96cee9d332350e0bc931f /app | |
parent | fc4cd4726b6512a6b035070516a7692d550a2341 (diff) | |
download | infinity-for-reddit-6a6735469b470f4c946895bc3592e4ad1e2610e2.tar infinity-for-reddit-6a6735469b470f4c946895bc3592e4ad1e2610e2.tar.gz infinity-for-reddit-6a6735469b470f4c946895bc3592e4ad1e2610e2.tar.bz2 infinity-for-reddit-6a6735469b470f4c946895bc3592e4ad1e2610e2.tar.lz infinity-for-reddit-6a6735469b470f4c946895bc3592e4ad1e2610e2.tar.xz infinity-for-reddit-6a6735469b470f4c946895bc3592e4ad1e2610e2.tar.zst infinity-for-reddit-6a6735469b470f4c946895bc3592e4ad1e2610e2.zip |
Fix showing the search query as the username or subreddit in SearchActivity.
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/java/ml/docilealligator/infinityforreddit/adapters/SearchActivityRecyclerViewAdapter.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/SearchActivityRecyclerViewAdapter.java b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/SearchActivityRecyclerViewAdapter.java index 9b7a91c8..084324ba 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/SearchActivityRecyclerViewAdapter.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/SearchActivityRecyclerViewAdapter.java @@ -58,12 +58,12 @@ public class SearchActivityRecyclerViewAdapter extends RecyclerView.Adapter<Recy ((RecentSearchQueryViewHolder) holder).binding.recentSearchQueryWhereTextViewItemRecentSearchQuery .setTextColor(userTextColor); ((RecentSearchQueryViewHolder) holder).binding.recentSearchQueryWhereTextViewItemRecentSearchQuery - .setText("u/" + recentSearchQuery.getSearchQuery()); + .setText("u/" + recentSearchQuery.getSearchInSubredditOrUserName()); } else { ((RecentSearchQueryViewHolder) holder).binding.recentSearchQueryWhereTextViewItemRecentSearchQuery .setTextColor(subredditTextColor); ((RecentSearchQueryViewHolder) holder).binding.recentSearchQueryWhereTextViewItemRecentSearchQuery - .setText("r/" + recentSearchQuery.getSearchQuery()); + .setText("r/" + recentSearchQuery.getSearchInSubredditOrUserName()); } } else { ((RecentSearchQueryViewHolder) holder).binding.recentSearchQueryWhereTextViewItemRecentSearchQuery |