pull/48/head
kunfei 5 years ago
parent 6eeb7e1c1c
commit bf0071fdfa
  1. 2
      app/src/main/java/io/legado/app/ui/book/search/SearchViewModel.kt

@ -34,7 +34,7 @@ class SearchViewModel(application: Application) : BaseViewModel(application) {
searchPage++ searchPage++
} else if (key.isNotEmpty()) { } else if (key.isNotEmpty()) {
isLoading = true isLoading = true
searchPage = 0 searchPage = 1
searchKey = key searchKey = key
searchBooks.clear() searchBooks.clear()
} }

Loading…
Cancel
Save