Skip to content
This repository has been archived by the owner on Jan 2, 2025. It is now read-only.

Commit

Permalink
fix(ui): fix avatar sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
horacioh committed Oct 17, 2023
1 parent 737d86f commit bc24ff1
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion frontend/packages/ui/src/avatar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,15 @@ export function UIAvatar({

return (
<Avatar circular size={size} alignItems="center" justifyContent="center">
{url && <Avatar.Image src={url} />}
{url && (
<Avatar.Image
source={{
uri: url,
width: size,
height: size,
}}
/>
)}
<Avatar.Fallback
delayMs={600}
backgroundColor={color || avatarColor}
Expand Down

0 comments on commit bc24ff1

Please sign in to comment.