diff options
author | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2023-09-10 19:59:29 +0000 |
---|---|---|
committer | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2023-09-10 19:59:29 +0000 |
commit | d9f2016db3174233c4f70d9c42dddd84f2d60367 (patch) | |
tree | debfae537f8b37b813927774cb2a3adad999b146 /app/src/main/java/ml | |
parent | 89cd1cc7cee540889be8a01e28c9b6c9cf4816e9 (diff) | |
download | infinity-for-reddit-d9f2016db3174233c4f70d9c42dddd84f2d60367.tar infinity-for-reddit-d9f2016db3174233c4f70d9c42dddd84f2d60367.tar.gz infinity-for-reddit-d9f2016db3174233c4f70d9c42dddd84f2d60367.tar.bz2 infinity-for-reddit-d9f2016db3174233c4f70d9c42dddd84f2d60367.tar.lz infinity-for-reddit-d9f2016db3174233c4f70d9c42dddd84f2d60367.tar.xz infinity-for-reddit-d9f2016db3174233c4f70d9c42dddd84f2d60367.tar.zst infinity-for-reddit-d9f2016db3174233c4f70d9c42dddd84f2d60367.zip |
Continue adding Card Layout 3.
Diffstat (limited to 'app/src/main/java/ml')
-rw-r--r-- | app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostRecyclerViewAdapter.java | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostRecyclerViewAdapter.java b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostRecyclerViewAdapter.java index 36b33332..bb2dc2e2 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostRecyclerViewAdapter.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostRecyclerViewAdapter.java @@ -1635,8 +1635,9 @@ public class PostRecyclerViewAdapter extends PagingDataAdapter<Post, RecyclerVie ((PostMaterial3CardBaseViewHolder) holder).userTextView.setText(authorPrefixed); } - ((PostMaterial3CardBaseViewHolder) holder).userTextView.setTextColor( - post.isModerator() ? mModeratorColor : mUsernameColor); + //TODO change color + /*((PostMaterial3CardBaseViewHolder) holder).userTextView.setTextColor( + post.isModerator() ? mModeratorColor : mUsernameColor);*/ if (mDisplaySubredditName) { if (authorPrefixed.equals(post.getSubredditNamePrefixed())) { @@ -5938,8 +5939,10 @@ public class PostRecyclerViewAdapter extends PagingDataAdapter<Post, RecyclerVie titleTextView.setTypeface(mActivity.titleTypeface); } - subredditTextView.setTextColor(mSubredditColor); - userTextView.setTextColor(mUsernameColor); + /*subredditTextView.setTextColor(mSubredditColor); + userTextView.setTextColor(mUsernameColor);*/ + subredditTextView.setTextColor(mPrimaryTextColor); + userTextView.setTextColor(mPrimaryTextColor); postTimeTextView.setTextColor(mSecondaryTextColor); titleTextView.setTextColor(mPostTitleColor); stickiedPostImageView.setColorFilter(mStickiedPostIconTint, PorterDuff.Mode.SRC_IN); |