Fix the Library Updates only show the last chapter of updated chapters if there are several chapters is updated (#9242)
This commit is contained in:
parent
e3199acb1e
commit
51f072c73f
|
@ -5,7 +5,7 @@ ext {
|
||||||
extName = 'CopyManga'
|
extName = 'CopyManga'
|
||||||
pkgNameSuffix = 'zh.copymanga'
|
pkgNameSuffix = 'zh.copymanga'
|
||||||
extClass = '.CopyManga'
|
extClass = '.CopyManga'
|
||||||
extVersionCode = 19
|
extVersionCode = 20
|
||||||
}
|
}
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
|
|
||||||
|
|
|
@ -428,11 +428,11 @@ class CopyManga : ConfigurableSource, HttpSource() {
|
||||||
SChapter.create().apply {
|
SChapter.create().apply {
|
||||||
name = chapter.getString("name")
|
name = chapter.getString("name")
|
||||||
url = "/comic/$comicPathWord/chapter/${chapter.getString("id")}"
|
url = "/comic/$comicPathWord/chapter/${chapter.getString("id")}"
|
||||||
|
date_upload = stringToUnixTimestamp(groupLastUpdateTime)
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
retChapter.lastOrNull()?.date_upload = stringToUnixTimestamp(groupLastUpdateTime)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun byteArrayToHexString(byteArray: ByteArray): String {
|
private fun byteArrayToHexString(byteArray: ByteArray): String {
|
||||||
|
|
Loading…
Reference in New Issue