Dmzj: fix page numbering (#273)

This commit is contained in:
yshui 2018-04-02 10:34:43 -05:00 committed by Carlos
parent 9c506ef915
commit 108bc9d4c8
2 changed files with 3 additions and 3 deletions

View File

@ -5,8 +5,8 @@ ext {
appName = 'Tachiyomi: Dmzj'
pkgNameSuffix = "zh.dmzj"
extClass = '.Dmzj'
extVersionCode = 2
extVersionSuffix = 2
extVersionCode = 3
extVersionSuffix = 3
libVersion = '1.0'
}

View File

@ -163,7 +163,7 @@ class Dmzj : HttpSource() {
val arr = obj.getJSONArray("page_url")
val ret = ArrayList<Page>(arr.length())
for (i in 0 until arr.length()) {
ret.add(Page(i+1, "", arr.getString(i)))
ret.add(Page(i, "", arr.getString(i)))
}
return ret
}