Anilist search fix (#1289)
* fixed issue where some anilist results not showing due to null description. * remove blank line
This commit is contained in:
parent
ba4807f62c
commit
50e0cb65d9
1 changed files with 2 additions and 3 deletions
|
@ -14,7 +14,7 @@ data class ALManga(
|
|||
val id: Int,
|
||||
val title_romaji: String,
|
||||
val image_url_lge: String,
|
||||
val description: String,
|
||||
val description: String?,
|
||||
val type: String,
|
||||
val publishing_status: String,
|
||||
val start_date_fuzzy: String,
|
||||
|
@ -25,7 +25,7 @@ data class ALManga(
|
|||
title = title_romaji
|
||||
total_chapters = this@ALManga.total_chapters
|
||||
cover_url = image_url_lge
|
||||
summary = description
|
||||
summary = description ?: ""
|
||||
tracking_url = AnilistApi.mangaUrl(remote_id)
|
||||
publishing_status = this@ALManga.publishing_status
|
||||
publishing_type = type
|
||||
|
@ -39,7 +39,6 @@ data class ALManga(
|
|||
start_date_fuzzy.orEmpty()
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue