mirror of
https://github.com/aniyomiorg/aniyomi.git
synced 2024-11-22 12:48:15 +03:00
Fix AniList ALSearchItem.status
nullibility
This commit is contained in:
parent
ffd4ba44fa
commit
69a8b512a5
1 changed files with 3 additions and 3 deletions
|
@ -9,7 +9,7 @@ data class ALSearchItem(
|
|||
val coverImage: ItemCover,
|
||||
val description: String?,
|
||||
val format: String,
|
||||
val status: String = "",
|
||||
val status: String?,
|
||||
val startDate: ALFuzzyDate,
|
||||
val chapters: Long?,
|
||||
val episodes: Long?,
|
||||
|
@ -21,7 +21,7 @@ data class ALSearchItem(
|
|||
imageUrl = coverImage.large,
|
||||
description = description,
|
||||
format = format.replace("_", "-"),
|
||||
publishingStatus = status,
|
||||
publishingStatus = status ?: "",
|
||||
startDateFuzzy = startDate.toEpochMilli(),
|
||||
totalChapters = chapters ?: 0,
|
||||
averageScore = averageScore ?: -1,
|
||||
|
@ -33,7 +33,7 @@ data class ALSearchItem(
|
|||
imageUrl = coverImage.large,
|
||||
description = description,
|
||||
format = format.replace("_", "-"),
|
||||
publishingStatus = status,
|
||||
publishingStatus = status ?: "",
|
||||
startDateFuzzy = startDate.toEpochMilli(),
|
||||
totalEpisodes = episodes ?: 0,
|
||||
averageScore = averageScore ?: -1,
|
||||
|
|
Loading…
Reference in a new issue