diff --git a/app/src/main/java/org/koitharu/kotatsu/list/ui/model/ListModelConversionExt.kt b/app/src/main/java/org/koitharu/kotatsu/list/ui/model/ListModelConversionExt.kt index a7a8c26f6..b2f082a7e 100644 --- a/app/src/main/java/org/koitharu/kotatsu/list/ui/model/ListModelConversionExt.kt +++ b/app/src/main/java/org/koitharu/kotatsu/list/ui/model/ListModelConversionExt.kt @@ -14,7 +14,7 @@ fun Manga.toListModel(counter: Int, progress: Float) = MangaListModel( id = id, title = title, subtitle = tags.joinToString(", ") { it.title }, - coverUrl = largeCoverUrl ?: coverUrl, + coverUrl = coverUrl, manga = this, counter = counter, progress = progress, @@ -26,7 +26,7 @@ fun Manga.toListDetailedModel(counter: Int, progress: Float) = MangaListDetailed subtitle = altTitle, rating = if (hasRating) String.format("%.1f", rating * 5) else null, tags = tags.joinToString(", ") { it.title }, - coverUrl = largeCoverUrl ?: coverUrl, + coverUrl = coverUrl, manga = this, counter = counter, progress = progress, @@ -35,7 +35,7 @@ fun Manga.toListDetailedModel(counter: Int, progress: Float) = MangaListDetailed fun Manga.toGridModel(counter: Int, progress: Float) = MangaGridModel( id = id, title = title, - coverUrl = largeCoverUrl ?: coverUrl, + coverUrl = coverUrl, manga = this, counter = counter, progress = progress, @@ -91,4 +91,4 @@ private fun getErrorIcon(error: Throwable) = when (error) { is AuthRequiredException, is CloudFlareProtectedException -> R.drawable.ic_denied_large else -> R.drawable.ic_error_large -} \ No newline at end of file +}