pull/35/head^2
kunfei 5 years ago
parent a6d2165887
commit d29a46c8ef
  1. 6
      app/src/main/java/io/legado/app/ui/rss/article/RssArticlesViewModel.kt

@ -24,9 +24,11 @@ class RssArticlesViewModel(application: Application) : BaseViewModel(application
it?.let { it?.let {
App.db.rssArtivleDao().insert(*it.toTypedArray()) App.db.rssArtivleDao().insert(*it.toTypedArray())
} }
}.onError {
toast(it.localizedMessage)
}.onFinally {
onFinally()
} }
}.onFinally {
onFinally()
} }
} }

Loading…
Cancel
Save