From 757a23401b4c7cf181c74049fa8a82c08ec2fdd9 Mon Sep 17 00:00:00 2001 From: Jays2Kings Date: Sun, 21 Mar 2021 22:30:38 -0400 Subject: [PATCH] Also clear cover from global updates --- .../eu/kanade/tachiyomi/data/library/LibraryUpdateService.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateService.kt b/app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateService.kt index e88fadfae2..91713e48bc 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateService.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateService.kt @@ -468,6 +468,8 @@ class LibraryUpdateService( LoadRequest.Builder(this@LibraryUpdateService).data(manga) .memoryCachePolicy(CachePolicy.DISABLED).build() Coil.imageLoader(this@LibraryUpdateService).execute(request) + } else { + coverCache.deleteFromCache(manga, false) } db.insertManga(manga).executeAsBlocking() }