pull/37/head
kunfei 5 years ago
parent db6ea924fc
commit 7fbc96be34
  1. 4
      app/src/main/java/io/legado/app/ui/rss/article/RssArticlesActivity.kt

@ -34,7 +34,7 @@ class RssArticlesActivity : VMBaseActivity<RssArticlesViewModel>(R.layout.activi
})
intent.getStringExtra("url")?.let {
initData(it)
viewModel.clear(it) {
viewModel.loadContent(it) {
refresh_progress_bar.isAutoLoading = false
}
}
@ -50,7 +50,7 @@ class RssArticlesActivity : VMBaseActivity<RssArticlesViewModel>(R.layout.activi
R.id.menu_clear -> {
intent.getStringExtra("url")?.let {
refresh_progress_bar.isAutoLoading = true
viewModel.loadContent(it) {
viewModel.clear(it) {
refresh_progress_bar.isAutoLoading = false
}
}

Loading…
Cancel
Save