pull/35/head^2
kunfei 5 years ago
parent 223564a866
commit 70cc4d308e
  1. 2
      app/src/main/java/io/legado/app/ui/rss/article/RssArticlesActivity.kt
  2. 2
      app/src/main/java/io/legado/app/ui/rss/article/RssArticlesAdapter.kt

@ -61,10 +61,10 @@ class RssArticlesActivity : VMBaseActivity<RssArticlesViewModel>(R.layout.activi
} }
override fun readRss(rssArticle: RssArticle) { override fun readRss(rssArticle: RssArticle) {
viewModel.read(rssArticle)
startActivity<ReadRssActivity>( startActivity<ReadRssActivity>(
Pair("description", rssArticle.description), Pair("description", rssArticle.description),
Pair("url", rssArticle.link) Pair("url", rssArticle.link)
) )
viewModel.read(rssArticle)
} }
} }

@ -31,7 +31,7 @@ class RssArticlesAdapter(context: Context, val callBack: CallBack) :
.setAsBitmap(image_view) .setAsBitmap(image_view)
} }
if (item.read) { if (item.read) {
tv_title.textColorResource = R.color.tv_text_secondary tv_title.textColorResource = R.color.tv_text_summary
} else { } else {
tv_title.textColorResource = R.color.tv_text_default tv_title.textColorResource = R.color.tv_text_default
} }

Loading…
Cancel
Save