Skip to content

Commit

Permalink
Update BangumiModels.kt (Jays2Kings/tachiyomiJ2K#1833)
Browse files Browse the repository at this point in the history
(cherry picked from commit b71d16681aeba661243b9a8110b0c45b32362d52)
  • Loading branch information
Trrrrw authored and cuong-tran committed Jan 13, 2025
1 parent 19a62fc commit e8034cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ enum class TrackStatus(val int: Int, val res: StringResource) {
Bangumi.ON_HOLD -> PAUSED
Bangumi.PLAN_TO_READ -> PLAN_TO_READ
Bangumi.DROPPED -> DROPPED
else -> null
else -> READING
}
}
trackerManager.komga.id -> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ fun Track.toApiStatus() = when (status) {
Bangumi.ON_HOLD -> "on_hold"
Bangumi.DROPPED -> "dropped"
Bangumi.PLAN_TO_READ -> "wish"
else -> throw NotImplementedError("Unknown status: $status")
else -> "do"
}

0 comments on commit e8034cf

Please sign in to comment.