diff --git a/app/src/main/java/io/legado/app/ui/book/search/SearchViewModel.kt b/app/src/main/java/io/legado/app/ui/book/search/SearchViewModel.kt index c56eee0a0..448f6d0db 100644 --- a/app/src/main/java/io/legado/app/ui/book/search/SearchViewModel.kt +++ b/app/src/main/java/io/legado/app/ui/book/search/SearchViewModel.kt @@ -34,7 +34,7 @@ class SearchViewModel(application: Application) : BaseViewModel(application) { searchPage++ } else if (key.isNotEmpty()) { isLoading = true - searchPage = 0 + searchPage = 1 searchKey = key searchBooks.clear() }