pull/32/head
kunfei 5 years ago
parent ffdbf91b3c
commit eda339e599
  1. 1
      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)

Loading…
Cancel
Save