mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-17 17:59:18 +01:00
add override status back in (#1260)
This commit is contained in:
parent
51f25e96e9
commit
0ca2ca33c2
@ -15,7 +15,7 @@ open class KitsuManga(obj: JsonObject) {
|
|||||||
val original by obj["attributes"].obj["posterImage"].byString
|
val original by obj["attributes"].obj["posterImage"].byString
|
||||||
val synopsis by obj["attributes"].byString
|
val synopsis by obj["attributes"].byString
|
||||||
val startDate = obj["attributes"].obj.get("startDate").nullString.orEmpty()
|
val startDate = obj["attributes"].obj.get("startDate").nullString.orEmpty()
|
||||||
val status = obj["attributes"].obj.get("status").nullString.orEmpty()
|
open val status = obj["attributes"].obj.get("status").nullString.orEmpty()
|
||||||
|
|
||||||
@CallSuper
|
@CallSuper
|
||||||
open fun toTrack() = TrackSearch.create(TrackManager.KITSU).apply {
|
open fun toTrack() = TrackSearch.create(TrackManager.KITSU).apply {
|
||||||
@ -33,7 +33,7 @@ open class KitsuManga(obj: JsonObject) {
|
|||||||
|
|
||||||
class KitsuLibManga(obj: JsonObject, manga: JsonObject) : KitsuManga(manga) {
|
class KitsuLibManga(obj: JsonObject, manga: JsonObject) : KitsuManga(manga) {
|
||||||
val remoteId by obj.byInt("id")
|
val remoteId by obj.byInt("id")
|
||||||
//override val status by obj["attributes"].byString
|
override val status by obj["attributes"].byString
|
||||||
val ratingTwenty = obj["attributes"].obj.get("ratingTwenty").nullString
|
val ratingTwenty = obj["attributes"].obj.get("ratingTwenty").nullString
|
||||||
val progress by obj["attributes"].byInt
|
val progress by obj["attributes"].byInt
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user