Skip to content

Commit

Permalink
fix default avatar not showing on native
Browse files Browse the repository at this point in the history
  • Loading branch information
rayane-d committed Dec 29, 2023
1 parent a27ee47 commit 5abfe66
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/components/Icon/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ function Icon({
const iconWidth = small ? variables.iconSizeSmall : width;
const iconHeight = small ? variables.iconSizeSmall : height;
const iconStyles = [StyleUtils.getWidthAndHeightStyle(width ?? 0, height), IconWrapperStyles, styles.pAbsolute, additionalStyles];
const iconFill = fill ?? theme.icon;

if (inline) {
return (
Expand All @@ -76,7 +75,7 @@ function Icon({
src={src}
width={iconWidth}
height={iconHeight}
fill={iconFill}
fill={fill}
hovered={hovered}
pressed={pressed}
contentFit={contentFit}
Expand All @@ -95,7 +94,7 @@ function Icon({
src={src}
width={iconWidth}
height={iconHeight}
fill={iconFill}
fill={fill}
hovered={hovered}
pressed={pressed}
contentFit={contentFit}
Expand Down

0 comments on commit 5abfe66

Please sign in to comment.