|
|
@@ -446,7 +446,7 @@ object BookHelp {
|
|
|
newChapterList: List<BookChapter>,
|
|
|
oldChapterListSize: Int = 0
|
|
|
): Int {
|
|
|
- if (oldDurChapterIndex == 0) return 0
|
|
|
+ if (oldDurChapterIndex <= 0) return 0
|
|
|
if (newChapterList.isEmpty()) return oldDurChapterIndex
|
|
|
val oldChapterNum = getChapterNum(oldDurChapterName)
|
|
|
val oldName = getPureChapterName(oldDurChapterName)
|