[LibSocial] Fix tags in details

master
Koitharu 10 months ago
parent bf83909349
commit 0e1247476e
Signed by: Koitharu
GPG Key ID: 676DEE768C17A9D7

@ -175,7 +175,7 @@ internal abstract class LibSocialParser(
val genres = json.getJSONArray("genres").mapJSON { jo ->
MangaTag(title = jo.getString("name"), key = "g" + jo.getInt("id"), source = source)
}
val tags = json.getJSONArray("genres").mapJSON { jo ->
val tags = json.getJSONArray("tags").mapJSON { jo ->
MangaTag(title = jo.getString("name"), key = "t" + jo.getInt("id"), source = source)
}
val author = json.getJSONArray("authors").optJSONObject(0)?.getStringOrNull("name")

Loading…
Cancel
Save