Skip to content

Commit

Permalink
fix: dim the avatar in completed task preview
Browse files Browse the repository at this point in the history
  • Loading branch information
dominictb committed Sep 9, 2024
1 parent 1eaeb44 commit fa88697
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ReportActionItem/TaskPreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ function TaskPreview({taskReport, taskReportID, action, contextMenuAnchor, chatR
</View>
{taskAssigneeAccountID > 0 && (
<Avatar
containerStyles={[styles.mr2, styles.alignSelfCenter]}
containerStyles={[styles.mr2, styles.alignSelfCenter, isTaskCompleted ? styles.opacitySemiTransparent : undefined]}
source={avatar}
size={CONST.AVATAR_SIZE.SMALL}
avatarID={taskAssigneeAccountID}
Expand Down

0 comments on commit fa88697

Please sign in to comment.