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