From 70cc4d308eb5f0a9b6697c4191c1eccc365aa4b8 Mon Sep 17 00:00:00 2001 From: kunfei Date: Thu, 3 Oct 2019 20:28:48 +0800 Subject: [PATCH] up --- .../java/io/legado/app/ui/rss/article/RssArticlesActivity.kt | 2 +- .../java/io/legado/app/ui/rss/article/RssArticlesAdapter.kt | 2 +- 2 files 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 70137fa22..8ec14de5b 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 @@ -61,10 +61,10 @@ class RssArticlesActivity : VMBaseActivity(R.layout.activi } override fun readRss(rssArticle: RssArticle) { + viewModel.read(rssArticle) startActivity( Pair("description", rssArticle.description), Pair("url", rssArticle.link) ) - viewModel.read(rssArticle) } } \ No newline at end of file diff --git a/app/src/main/java/io/legado/app/ui/rss/article/RssArticlesAdapter.kt b/app/src/main/java/io/legado/app/ui/rss/article/RssArticlesAdapter.kt index a89af62ba..03546d957 100644 --- a/app/src/main/java/io/legado/app/ui/rss/article/RssArticlesAdapter.kt +++ b/app/src/main/java/io/legado/app/ui/rss/article/RssArticlesAdapter.kt @@ -31,7 +31,7 @@ class RssArticlesAdapter(context: Context, val callBack: CallBack) : .setAsBitmap(image_view) } if (item.read) { - tv_title.textColorResource = R.color.tv_text_secondary + tv_title.textColorResource = R.color.tv_text_summary } else { tv_title.textColorResource = R.color.tv_text_default }