From c267382d6f517966878bd956614e7132a5bf55f0 Mon Sep 17 00:00:00 2001 From: kunfei Date: Sun, 3 Apr 2022 23:24:40 +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 --- .../java/io/legado/app/ui/book/arrange/ArrangeBookViewModel.kt | 1 + 1 file changed, 1 insertion(+) 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 9be1b5c22..399fcb9e0 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 @@ -45,6 +45,7 @@ class ArrangeBookViewModel(application: Application) : BaseViewModel(application books.forEachIndexed { index, book -> batchChangeSourcePosition.value = index + 1 if (book.isLocalBook()) return@forEachIndexed + if (book.origin == source.bookSourceUrl) return@forEachIndexed WebBook.preciseSearchAwait(this, book.name, book.author, source)?.let { book.changeTo(it.second) }