From 5b65702b260364978e9fb5b5375e3149b1cc8390 Mon Sep 17 00:00:00 2001 From: kunfei Date: Wed, 4 Sep 2019 21:02:26 +0800 Subject: [PATCH] up --- .../main/java/io/legado/app/ui/explore/ExploreShowViewModel.kt | 2 ++ 1 file changed, 2 insertions(+) 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 7aa89da91..275a28631 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 @@ -38,6 +38,8 @@ class ExploreShowViewModel(application: Application) : BaseViewModel(application App.db.searchBookDao().insert(*searchBooks.toTypedArray()) page++ } + }.onError { + it.printStackTrace() } } }