From 0229920c9e32c94b6c511fcb79d92a3005ed9734 Mon Sep 17 00:00:00 2001 From: NineWorlds <1365887550@qq.com> Date: Thu, 29 Jul 2021 11:39:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=9D=E8=AF=95=E4=BF=AE=E6=AD=A3=E8=AE=A2?= =?UTF-8?q?=E9=98=85=E9=87=8C=E5=9B=A0=E4=B8=BA=E6=9F=90=E4=BA=9B=E8=B5=84?= =?UTF-8?q?=E6=BA=90=E5=9C=B0=E5=9D=80=E5=8F=91=E7=94=9F=E5=8F=98=E5=8A=A8?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=E6=97=A0=E6=B3=95=E8=BD=BD=E5=85=A5=E7=9A=84?= =?UTF-8?q?BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/io/legado/app/ui/rss/read/ReadRssViewModel.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/ui/rss/read/ReadRssViewModel.kt b/app/src/main/java/io/legado/app/ui/rss/read/ReadRssViewModel.kt index 8c7dd00d9..56a70bb79 100644 --- a/app/src/main/java/io/legado/app/ui/rss/read/ReadRssViewModel.kt +++ b/app/src/main/java/io/legado/app/ui/rss/read/ReadRssViewModel.kt @@ -47,7 +47,8 @@ class ReadRssViewModel(application: Application) : BaseViewModel(application), rssSource = appDb.rssSourceDao.getByKey(origin) if (link != null) { rssStar = appDb.rssStarDao.get(origin, link) - rssArticle = rssStar?.toRssArticle() ?: appDb.rssArticleDao.get(origin, link) + rssArticle = appDb.rssArticleDao.get(origin, link) + //rssArticle = rssStar?.toRssArticle() ?: appDb.rssArticleDao.get(origin, link) rssArticle?.let { rssArticle -> if (!rssArticle.description.isNullOrBlank()) { contentLiveData.postValue(rssArticle.description!!)