mirror of
https://github.com/mihonapp/mihon.git
synced 2025-11-15 13:37:29 +01:00
Remove 1.x source models (#7781)
This commit is contained in:
@@ -29,11 +29,12 @@ fun Manga.prepUpdateCover(coverCache: CoverCache, remoteManga: SManga, refreshSa
|
||||
|
||||
if (!refreshSameUrl && thumbnail_url == newUrl) return
|
||||
|
||||
val domainManga = toDomainManga()!!
|
||||
when {
|
||||
toDomainManga()!!.isLocal() -> {
|
||||
domainManga.isLocal() -> {
|
||||
cover_last_modified = Date().time
|
||||
}
|
||||
toDomainManga()!!.hasCustomCover(coverCache) -> {
|
||||
domainManga.hasCustomCover(coverCache) -> {
|
||||
coverCache.deleteFromCache(this, false)
|
||||
}
|
||||
else -> {
|
||||
|
||||
Reference in New Issue
Block a user