From 5f92cef9a04a2a5d339f519efcb8d8f7d978c33f Mon Sep 17 00:00:00 2001 From: kunfei Date: Tue, 12 Nov 2019 17:15:08 +0800 Subject: [PATCH] up --- .../main/java/io/legado/app/ui/book/search/SearchViewModel.kt | 2 -- 1 file changed, 2 deletions(-) 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 448f6d0db..b02414b29 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 @@ -20,7 +20,6 @@ class SearchViewModel(application: Application) : BaseViewModel(application) { private var task: Coroutine<*>? = null var callBack: CallBack? = null var searchKey: String = "" - var startTime: Long = 0 var searchPage = 1 var isLoading = false private var searchBooks = arrayListOf() @@ -38,7 +37,6 @@ class SearchViewModel(application: Application) : BaseViewModel(application) { searchKey = key searchBooks.clear() } - startTime = System.currentTimeMillis() callBack?.startSearch() task = execute { val searchGroup = context.getPrefString("searchGroup") ?: ""