mirror of
https://github.com/Jellify-Music/App.git
synced 2026-05-09 04:49:25 -05:00
looking at a memory leak too
This commit is contained in:
@@ -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?
|
||||
});
|
||||
@@ -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={() => {
|
||||
|
||||
Reference in New Issue
Block a user