This commit is contained in:
Fredrik Burmester
2024-09-28 16:13:01 +02:00
parent 41a23d3437
commit 73c43d31ee
3 changed files with 12 additions and 9 deletions

View File

@@ -385,6 +385,8 @@ function useDownloadProvider() {
}
await AsyncStorage.setItem("downloadedItems", JSON.stringify(items));
await queryClient.invalidateQueries({ queryKey: ["downloadedItems"] });
refetch();
} catch (error) {
console.error("Failed to save downloaded item information:", error);
}