mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-17 19:09:17 +01:00
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
@ -14,7 +14,7 @@ data class ALManga(
|
|||||||
val id: Int,
|
val id: Int,
|
||||||
val title_romaji: String,
|
val title_romaji: String,
|
||||||
val image_url_lge: String,
|
val image_url_lge: String,
|
||||||
val description: String,
|
val description: String?,
|
||||||
val type: String,
|
val type: String,
|
||||||
val publishing_status: String,
|
val publishing_status: String,
|
||||||
val start_date_fuzzy: String,
|
val start_date_fuzzy: String,
|
||||||
@ -25,7 +25,7 @@ data class ALManga(
|
|||||||
title = title_romaji
|
title = title_romaji
|
||||||
total_chapters = this@ALManga.total_chapters
|
total_chapters = this@ALManga.total_chapters
|
||||||
cover_url = image_url_lge
|
cover_url = image_url_lge
|
||||||
summary = description
|
summary = description ?: ""
|
||||||
tracking_url = AnilistApi.mangaUrl(remote_id)
|
tracking_url = AnilistApi.mangaUrl(remote_id)
|
||||||
publishing_status = this@ALManga.publishing_status
|
publishing_status = this@ALManga.publishing_status
|
||||||
publishing_type = type
|
publishing_type = type
|
||||||
@ -39,7 +39,6 @@ data class ALManga(
|
|||||||
start_date_fuzzy.orEmpty()
|
start_date_fuzzy.orEmpty()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user