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

@ -24,10 +24,12 @@ 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