添加批量换源

This commit is contained in:
kunfei committed 2022-04-03 23:19:15 +08:00
1 parent 94a81eae14
commit b44a174878
2 files changed
+2

No files matched your search

@@ -44,6 +44,7 @@ class ArrangeBookViewModel(application: Application) : BaseViewModel(application
batchChangeSourceSize.value = books.size
books.forEachIndexed { index, book ->
batchChangeSourcePosition.value = index + 1
if (book.isLocalBook()) return@forEachIndexed
WebBook.preciseSearchAwait(this, book.name, book.author, source)?.let {
book.changeTo(it.second)
}