From eda339e599c85966ebc6ae3815db3c0668156838 Mon Sep 17 00:00:00 2001 From: kunfei Date: Wed, 4 Sep 2019 22:11:33 +0800 Subject: [PATCH] up --- .../main/java/io/legado/app/ui/explore/ExploreShowViewModel.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/io/legado/app/ui/explore/ExploreShowViewModel.kt b/app/src/main/java/io/legado/app/ui/explore/ExploreShowViewModel.kt index 275a28631..f36a5fc69 100644 --- a/app/src/main/java/io/legado/app/ui/explore/ExploreShowViewModel.kt +++ b/app/src/main/java/io/legado/app/ui/explore/ExploreShowViewModel.kt @@ -32,6 +32,7 @@ class ExploreShowViewModel(application: Application) : BaseViewModel(application bookSource?.let { source -> exploreUrl?.let { url -> WebBook(source).exploreBook(url, page, this) + .timeout(30000L) .onSuccess(IO) { searchBooks -> searchBooks?.let { booksData.postValue(searchBooks)