diff options
author | Alex Ning <chineseperson5@gmail.com> | 2021-04-20 11:33:10 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2021-04-20 11:33:10 +0000 |
commit | 83dd21450fe3e503490a663b02e2781eb87b7ca1 (patch) | |
tree | c0e17b655adfe83a4eddb49726a64d116cbef8a9 /app/src/main/java/ml/docilealligator | |
parent | 9ff4fb0a755fc17e307487061416ad81d54e945e (diff) | |
download | infinity-for-reddit-83dd21450fe3e503490a663b02e2781eb87b7ca1.tar infinity-for-reddit-83dd21450fe3e503490a663b02e2781eb87b7ca1.tar.gz infinity-for-reddit-83dd21450fe3e503490a663b02e2781eb87b7ca1.tar.bz2 infinity-for-reddit-83dd21450fe3e503490a663b02e2781eb87b7ca1.tar.lz infinity-for-reddit-83dd21450fe3e503490a663b02e2781eb87b7ca1.tar.xz infinity-for-reddit-83dd21450fe3e503490a663b02e2781eb87b7ca1.tar.zst infinity-for-reddit-83dd21450fe3e503490a663b02e2781eb87b7ca1.zip |
Fix topScoreTextView showing wrong color in CommentViewHolder.
Diffstat (limited to '')
-rw-r--r-- | app/src/main/java/ml/docilealligator/infinityforreddit/adapters/CommentAndPostRecyclerViewAdapter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/CommentAndPostRecyclerViewAdapter.java b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/CommentAndPostRecyclerViewAdapter.java index 2aa5b555..802150fc 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/CommentAndPostRecyclerViewAdapter.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/CommentAndPostRecyclerViewAdapter.java @@ -480,7 +480,6 @@ public class CommentAndPostRecyclerViewAdapter extends RecyclerView.Adapter<Recy mTimeFormatPattern = sharedPreferences.getString(SharedPreferencesUtils.TIME_FORMAT_KEY, SharedPreferencesUtils.TIME_FORMAT_DEFAULT_VALUE); mExpandChildren = !sharedPreferences.getBoolean(SharedPreferencesUtils.SHOW_TOP_LEVEL_COMMENTS_FIRST, false); mCommentToolbarHidden = sharedPreferences.getBoolean(SharedPreferencesUtils.COMMENT_TOOLBAR_HIDDEN, false); - //mCommentToolbarHidden = true; mCommentToolbarHideOnClick = sharedPreferences.getBoolean(SharedPreferencesUtils.COMMENT_TOOLBAR_HIDE_ON_CLICK, true); mSwapTapAndLong = sharedPreferences.getBoolean(SharedPreferencesUtils.SWAP_TAP_AND_LONG_COMMENTS, false); mShowCommentDivider = sharedPreferences.getBoolean(SharedPreferencesUtils.SHOW_COMMENT_DIVIDER, false); @@ -1889,6 +1888,7 @@ public class CommentAndPostRecyclerViewAdapter extends RecyclerView.Adapter<Recy ((CommentViewHolder) holder).authorTextView.setTextColor(mUsernameColor); ((CommentViewHolder) holder).authorFlairTextView.setVisibility(View.GONE); ((CommentViewHolder) holder).authorTextView.setCompoundDrawablesWithIntrinsicBounds(null, null, null, null); + ((CommentViewHolder) holder).topScoreTextView.setTextColor(mSecondaryTextColor); ((CommentViewHolder) holder).awardsTextView.setText(""); ((CommentViewHolder) holder).awardsTextView.setVisibility(View.GONE); ((CommentViewHolder) holder).expandButton.setVisibility(View.GONE); |