From bf0071fdfade41081592a22249b8d4d2ae0d0097 Mon Sep 17 00:00:00 2001 From: kunfei Date: Tue, 12 Nov 2019 17:14:44 +0800 Subject: [PATCH] up --- .../main/java/io/legado/app/ui/book/search/SearchViewModel.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() }