mirror of
https://github.com/Jellify-Music/App.git
synced 2026-02-22 19:58:35 -06:00
image fixes
This commit is contained in:
@@ -8,7 +8,7 @@ export function fetchItemImage(api: Api, itemId: string, imageType?: ImageType,
|
||||
|
||||
return getImageApi(api).getItemImage({ itemId, imageType: imageType ? imageType : ImageType.Primary })
|
||||
.then((response) => {
|
||||
convertFileToBase64((response.data as File))
|
||||
return convertFileToBase64((response.data as File))
|
||||
.then((encode) => {
|
||||
console.log(encode);
|
||||
return encode;
|
||||
|
||||
@@ -60,7 +60,9 @@ export function Card(props: CardProps) {
|
||||
alignSelf="center"
|
||||
source={{
|
||||
uri: data
|
||||
}} />
|
||||
}}
|
||||
{...dimensions}
|
||||
/>
|
||||
)}
|
||||
</ZStack>
|
||||
</TamaguiCard.Background>
|
||||
|
||||
Reference in New Issue
Block a user