pull/32/head
kunfei 5 years ago
parent 2bdaee2699
commit f6acc94ea3
  1. 2
      app/src/main/java/io/legado/app/ui/search/SearchViewModel.kt

@ -26,8 +26,8 @@ class SearchViewModel(application: Application) : BaseViewModel(application) {
searchBook.author -> searchBook.searchOrder = 1
else -> searchBook.searchOrder = 1000
}
App.db.searchBookDao().insert(searchBook)
}
App.db.searchBookDao().insert(*it.toTypedArray())
}
}
tasks.add(search)

Loading…
Cancel
Save