mirror of
https://github.com/mihonapp/mihon.git
synced 2025-01-12 19:27:16 +01:00
Fix AniList ALSearchItem.status
nullibility (#1297)
This commit is contained in:
parent
f7fbc93833
commit
76e0aba70c
@ -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 New Issue
Block a user