Also clear cover from global updates

This commit is contained in:
Jays2Kings 2021-03-21 22:30:38 -04:00
parent e0247e869b
commit 757a23401b

View File

@ -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()
}