Skip to content

Commit

Permalink
Comment by is now bold always
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonHalvdansson committed Oct 2, 2023
1 parent dc4650b commit b4f35c5
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -367,15 +367,13 @@ public void onClick(View view) {

if (byUser) {
itemViewHolder.commentBy.setTextColor(MaterialColors.getColor(itemViewHolder.commentBy, R.attr.selfCommentColor));
itemViewHolder.commentBy.setTypeface(FontUtils.activeBold);
} else if (byOp) {
itemViewHolder.commentBy.setTextColor(MaterialColors.getColor(itemViewHolder.commentBy, R.attr.opCommentColor));
itemViewHolder.commentBy.setTypeface(FontUtils.activeBold);
} else {
itemViewHolder.commentBy.setTextColor(MaterialColors.getColor(itemViewHolder.commentBy, R.attr.storyColorDisabled));
itemViewHolder.commentBy.setTypeface(FontUtils.activeRegular);
}

itemViewHolder.commentBy.setTypeface(FontUtils.activeBold);
itemViewHolder.commentByTime.setTypeface(FontUtils.activeRegular);

itemViewHolder.commentBody.setVisibility( (!itemViewHolder.comment.expanded && collapseParent) ? View.GONE : View.VISIBLE);
Expand Down

0 comments on commit b4f35c5

Please sign in to comment.