添加批量换源

This commit is contained in:
kunfei
2022-04-03 23:19:15 +08:00
parent 94a81eae14
commit b44a174878
2 changed files with 2 additions and 0 deletions
@@ -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)
}