Skip to content

Commit

Permalink
Fix star and attachment icon colors
Browse files Browse the repository at this point in the history
  • Loading branch information
Wolf Montwe committed Jan 24, 2025
1 parent 0b325fa commit 693262a
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,11 @@ class MessageListAdapter internal constructor(

if (appearance.stars) {
holder.star.isSelected = isStarred
if (isStarred) {
holder.star.clearColorFilter()
} else {
holder.star.setColorFilter(foregroundColor)
}
holder.starClickArea.contentDescription = if (isStarred) {
res.getString(R.string.unflag_action)
} else {
Expand Down Expand Up @@ -435,6 +440,7 @@ class MessageListAdapter internal constructor(
holder.date.setTextColor(foregroundColor)
holder.date.text = displayDate
holder.attachment.isVisible = hasAttachments
holder.attachment.setColorFilter(foregroundColor)

val statusHolder = buildStatusHolder(isForwarded, isAnswered)
if (statusHolder != null) {
Expand Down

0 comments on commit 693262a

Please sign in to comment.