fix mangadex end chapter (#5456)
end chapter doesnt add "[END]" to chapter name
This commit is contained in:
parent
26e30005a8
commit
812170038e
|
@ -5,7 +5,7 @@ ext {
|
|||
extName = 'MangaDex'
|
||||
pkgNameSuffix = 'all.mangadex'
|
||||
extClass = '.MangaDexFactory'
|
||||
extVersionCode = 100
|
||||
extVersionCode = 101
|
||||
libVersion = '1.2'
|
||||
containsNsfw = true
|
||||
}
|
||||
|
|
|
@ -495,7 +495,7 @@ abstract class MangaDex(
|
|||
}
|
||||
|
||||
private fun getFinalChapter(jsonObj: JsonObject): String =
|
||||
jsonObj.get("last_chapter").nullString?.trim() ?: ""
|
||||
jsonObj.get("lastChapter").nullString?.trim() ?: ""
|
||||
|
||||
private fun isOneshot(chapterJson: JsonArray, lastChapter: String): Boolean {
|
||||
val chapter =
|
||||
|
|
Loading…
Reference in New Issue