From 331faccae026c95ef40c2397769680560ba0f94c Mon Sep 17 00:00:00 2001 From: kunfei Date: Mon, 4 Apr 2022 19:48:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=89=B9=E9=87=8F=E6=8D=A2?= =?UTF-8?q?=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../io/legado/app/ui/book/arrange/ArrangeBookViewModel.kt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/src/main/java/io/legado/app/ui/book/arrange/ArrangeBookViewModel.kt b/app/src/main/java/io/legado/app/ui/book/arrange/ArrangeBookViewModel.kt index 1d14327fe..78523d72f 100644 --- a/app/src/main/java/io/legado/app/ui/book/arrange/ArrangeBookViewModel.kt +++ b/app/src/main/java/io/legado/app/ui/book/arrange/ArrangeBookViewModel.kt @@ -48,10 +48,7 @@ class ArrangeBookViewModel(application: Application) : BaseViewModel(application if (book.origin == source.bookSourceUrl) return@forEachIndexed WebBook.preciseSearchAwait(this, book.name, book.author, source)?.let { val newBook = it.second - newBook.durChapterIndex = book.durChapterIndex - newBook.durChapterPos = book.durChapterPos - newBook.durChapterTitle = book.durChapterTitle - newBook.latestChapterTitle = book.latestChapterTitle + newBook.upInfoFromOld(book) book.changeTo(newBook) if (newBook.tocUrl.isEmpty()) { WebBook.getBookInfoAwait(this, source, newBook)