Explorar o código

Fix anilist jsonnull issue

https://github.com/Jays2Kings/tachiyomiJ2K/commit/41c64b7058c4b8cc040d69160002caeceb922baa
arkon %!s(int64=5) %!d(string=hai) anos
pai
achega
abf47deee3

+ 1 - 1
app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/AnilistApi.kt

@@ -271,7 +271,7 @@ class AnilistApi(val client: OkHttpClient, interceptor: AnilistInterceptor) {
 
         return ALManga(
             struct["id"].asInt, struct["title"]["romaji"].asString, struct["coverImage"]["large"].asString,
-            struct["description"].nullString.orEmpty(), struct["type"].asString, struct["status"].asString,
+            struct["description"].nullString.orEmpty(), struct["type"].asString, struct["status"].nullString.orEmpty(),
             date, struct["chapters"].nullInt ?: 0
         )
     }