mirror of
https://github.com/Jellify-Music/App.git
synced 2026-03-12 23:19:38 -05:00
remove cached image
This commit is contained in:
12
App.tsx
12
App.tsx
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user