Stop cleaning cache directory from showing as toast

This commit is contained in:
Alex Kim
2025-07-17 12:19:18 +10:00
parent 25383edd43
commit 2342c776f2
2 changed files with 0 additions and 5 deletions

View File

@@ -155,10 +155,6 @@ export const HomeIndex = () => {
setIsConnected(state.isConnected);
});
// cleanCacheDirectory().catch((e) =>
// console.error("Something went wrong cleaning cache directory")
// );
return () => {
unsubscribe();
};

View File

@@ -438,7 +438,6 @@ function useDownloadProvider() {
await FileSystem.makeDirectoryAsync(APP_CACHE_DOWNLOAD_DIRECTORY, {
intermediates: true,
});
toast.success(t("Cache directory has been cleaned."));
} catch (_error) {
toast.error(t("Failed to clean cache directory."));
}