Tappytoon: fix chapter numbers (#10324)

This commit is contained in:
ObserverOfTime 2022-01-04 12:43:59 +02:00 committed by GitHub
parent 24d2ca27de
commit 2dd71d66f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ ext {
extName = 'Tappytoon'
pkgNameSuffix = 'all.tappytoon'
extClass = '.TappytoonFactory'
extVersionCode = 3
extVersionCode = 4
isNsfw = true
}

View File

@ -153,7 +153,7 @@ class Tappytoon(override val lang: String) : HttpSource() {
SChapter.create().apply {
name = it.toString()
url = it.id.toString()
chapter_number = it.order
chapter_number = it.order + 1f
date_upload = dateFormat.parse(it.createdAt)?.time ?: 0L
}
}