Skip to content

Commit

Permalink
Merge pull request Expensify#24088 from bernhardoj/fix/24069
Browse files Browse the repository at this point in the history
Fix custom workspace avatar border radius is different
  • Loading branch information
danieldoglas authored Aug 11, 2023
2 parents c7dddba + db1bd76 commit 893d943
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Avatar.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ function Avatar(props) {

const imageStyle =
props.imageStyles && props.imageStyles.length
? [StyleUtils.getAvatarStyle(props.size), ...props.imageStyles, StyleUtils.getAvatarBorderRadius(props.size, props.type)]
: [StyleUtils.getAvatarStyle(props.size), StyleUtils.getAvatarBorderStyle(props.size, props.type)];
? [StyleUtils.getAvatarStyle(props.size), ...props.imageStyles, styles.noBorderRadius]
: [StyleUtils.getAvatarStyle(props.size), styles.noBorderRadius];

const iconStyle = props.imageStyles && props.imageStyles.length ? [StyleUtils.getAvatarStyle(props.size), styles.bgTransparent, ...props.imageStyles] : undefined;

Expand Down

0 comments on commit 893d943

Please sign in to comment.