diff --git a/app/src/main/java/io/legado/app/ui/book/changesource/ChangeSourceViewModel.kt b/app/src/main/java/io/legado/app/ui/book/changesource/ChangeSourceViewModel.kt index 143d706ba..937370db9 100644 --- a/app/src/main/java/io/legado/app/ui/book/changesource/ChangeSourceViewModel.kt +++ b/app/src/main/java/io/legado/app/ui/book/changesource/ChangeSourceViewModel.kt @@ -100,6 +100,8 @@ class ChangeSourceViewModel(application: Application) : BaseViewModel(applicatio private fun startSearch() { execute { App.db.searchBookDao.clear(name, author) + searchBooks.clear() + upAdapter() bookSourceList.clear() if (searchGroup.isBlank()) { bookSourceList.addAll(App.db.bookSourceDao.allEnabled)