mirror of
https://github.com/mihonapp/mihon.git
synced 2025-11-15 13:37:29 +01:00
Fix local source cover changing (#6252)
* fix local source cover changing * Remove unnecessary check for `exists()` * fix for when there is no thumbnail_url in the db
This commit is contained in:
@@ -388,6 +388,8 @@ class MangaPresenter(
|
||||
if (manga.isLocal()) {
|
||||
LocalSource.updateCover(context, manga, it)
|
||||
manga.updateCoverLastModified(db)
|
||||
db.insertManga(manga).executeAsBlocking()
|
||||
coverCache.clearMemoryCache()
|
||||
} else if (manga.favorite) {
|
||||
coverCache.setCustomCoverToCache(manga, it)
|
||||
manga.updateCoverLastModified(db)
|
||||
|
||||
Reference in New Issue
Block a user