mirror of
https://git.mihon.tech/mihonapp/mihon
synced 2024-11-21 12:45:44 +03:00
Fix AniList ALSearchItem.status
nullibility (#1297)
This commit is contained in:
parent
f7fbc93833
commit
76e0aba70c
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…
Reference in a new issue