Skip to content

Commit

Permalink
if we've calculated the fill (which we do for imageError) then use that
Browse files Browse the repository at this point in the history
  • Loading branch information
grgia committed Apr 5, 2024
1 parent 7b035de commit 7c7229f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Avatar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ function Avatar({
src={avatarSource}
height={iconSize}
width={iconSize}
fill={imageError ? theme.border : iconColors?.fill ?? fill}
fill={imageError ? iconColors?.fill ?? theme.offline : iconColors?.fill ?? fill}
additionalStyles={[StyleUtils.getAvatarBorderStyle(size, type), iconColors, iconAdditionalStyles]}
/>
</View>
Expand Down

0 comments on commit 7c7229f

Please sign in to comment.