fix search result images

This commit is contained in:
Violet Caulfield
2025-02-10 20:44:48 -06:00
parent cd67bc6a23
commit a3c2ee2981
2 changed files with 2 additions and 1 deletions

View File

@@ -12,4 +12,5 @@ export const useItemImage = (itemId: string, imageType: ImageType = ImageType.Pr
Math.ceil(height / 100) * 100 // So these keys need to match
],
queryFn: () => fetchItemImage(itemId, imageType, width, height),
retry: 3,
});

View File

@@ -69,7 +69,7 @@ export default function Item({
paddingVertical={"$2"}
marginHorizontal={"$1"}
>
<BlurhashedImage item={item} width={width / 9} />
<BlurhashedImage item={item} width={width / 9} borderRadius={item.Type === 'MusicArtist' ? width / 9 : 2}/>
<YStack
marginLeft={"$1"}