Fixed Anilist crash
This commit is contained in:
parent
9c199f4612
commit
36dfb2484a
1 changed files with 2 additions and 2 deletions
|
@ -74,7 +74,7 @@ data class ALUserManga(
|
|||
"DROPPED" -> Anilist.DROPPED
|
||||
"PLANNING" -> Anilist.PLANNING
|
||||
"REPEATING" -> Anilist.REPEATING
|
||||
else -> throw NotImplementedError("Unknown status")
|
||||
else -> Anilist.READING
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -85,7 +85,7 @@ fun Track.toAnilistStatus() = when (status) {
|
|||
Anilist.DROPPED -> "DROPPED"
|
||||
Anilist.PLANNING -> "PLANNING"
|
||||
Anilist.REPEATING -> "REPEATING"
|
||||
else -> throw NotImplementedError("Unknown status")
|
||||
else -> "CURRENT"
|
||||
}
|
||||
|
||||
private val preferences: PreferencesHelper by injectLazy()
|
||||
|
|
Reference in a new issue