mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 02:34:39 +00:00
fix: Fix AniList ALSearchItem.status
nullibility
This commit is contained in:
parent
04d0003963
commit
a33a167e2c
1 changed files with 2 additions and 2 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 averageScore: Int?,
|
||||
|
@ -20,7 +20,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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue