Always update manga thumbnail on fetch (#1429)
It's possible that the cover changed, but the url is still the same. In that case the cover never gets updated unless the downloaded/cached file gets deleted
This commit is contained in:
@@ -142,7 +142,7 @@ object Manga {
|
||||
?: mangaEntry[MangaTable.description]
|
||||
it[MangaTable.genre] = sManga.genre ?: mangaEntry[MangaTable.genre]
|
||||
it[MangaTable.status] = sManga.status
|
||||
if (!sManga.thumbnail_url.isNullOrEmpty() && sManga.thumbnail_url != mangaEntry[MangaTable.thumbnail_url]) {
|
||||
if (!sManga.thumbnail_url.isNullOrEmpty()) {
|
||||
it[MangaTable.thumbnail_url] = sManga.thumbnail_url
|
||||
it[MangaTable.thumbnailUrlLastFetched] = Instant.now().epochSecond
|
||||
clearThumbnail(mangaId)
|
||||
|
||||
Reference in New Issue
Block a user