looking at a memory leak too

This commit is contained in:
Violet Caulfield
2025-02-09 13:51:26 -06:00
parent a416cd0ccb
commit f0dd99e7ae
2 changed files with 5 additions and 3 deletions
-2
View File
@@ -12,6 +12,4 @@ 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),
staleTime: 1000 * 60, // One minute, these are stored on disk anyways
gcTime: 1000 * 60 * 60 // One hour, could be less maybe?
});
+5 -1
View File
@@ -78,7 +78,11 @@ export default function PlayerScreen({
<XStack>
<YStack flex={1}>
<YStack
alignContent="center"
flex={1}
justify="flex-end"
>
<Icon
name="chevron-down"
onPress={() => {