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) }