diff --git a/app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/BangumiModels.kt b/app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/BangumiModels.kt index e5811d707c5a..2d57c6356d85 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/BangumiModels.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/BangumiModels.kt @@ -8,7 +8,7 @@ fun Track.toBangumiStatus() = when (status) { Bangumi.ON_HOLD -> "on_hold" Bangumi.DROPPED -> "dropped" Bangumi.PLAN_TO_READ -> "wish" - else -> throw NotImplementedError("Unknown status: $status") + else -> "do" } fun toTrackStatus(status: String) = when (status) { @@ -17,5 +17,5 @@ fun toTrackStatus(status: String) = when (status) { "on_hold" -> Bangumi.ON_HOLD "dropped" -> Bangumi.DROPPED "wish" -> Bangumi.PLAN_TO_READ - else -> throw NotImplementedError("Unknown status: $status") + else -> Bangumi.READING }