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 }