From 7fbc96be346bc65d095579414995aed641b438e1 Mon Sep 17 00:00:00 2001 From: kunfei Date: Thu, 10 Oct 2019 17:20:50 +0800 Subject: [PATCH] up --- .../java/io/legado/app/ui/rss/article/RssArticlesActivity.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/io/legado/app/ui/rss/article/RssArticlesActivity.kt b/app/src/main/java/io/legado/app/ui/rss/article/RssArticlesActivity.kt index c735e12c3..f2291a141 100644 --- a/app/src/main/java/io/legado/app/ui/rss/article/RssArticlesActivity.kt +++ b/app/src/main/java/io/legado/app/ui/rss/article/RssArticlesActivity.kt @@ -34,7 +34,7 @@ class RssArticlesActivity : VMBaseActivity(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(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 } }