remove cached image

This commit is contained in:
Violet Caulfield
2025-01-25 12:34:25 -06:00
parent 4edd55006b
commit 24d14be81b

12
App.tsx
View File

@@ -8,20 +8,8 @@ import { useColorScheme } from 'react-native';
import jellifyConfig from './tamagui.config';
import { clientPersister } from './constants/storage';
import { queryClient } from './constants/query-client';
import { CacheManager } from '@georstat/react-native-image-cache';
import { Dirs } from "react-native-file-access";
import { EventProvider } from "react-native-outside-press";
CacheManager.config = {
baseDir: `${Dirs.CacheDir}/images_cache/`,
blurRadius: 15,
cacheLimit: 0,
maxRetries: 3 /* optional, if not provided defaults to 0 */,
retryDelay: 3000 /* in milliseconds, optional, if not provided defaults to 0 */,
sourceAnimationDuration: 1000,
thumbnailAnimationDuration: 1000,
};
export default function App(): React.JSX.Element {
const isDarkMode = useColorScheme() === 'dark';