From e7962ae3fc5ae63c57ed9cc7e8602bb93f36696f Mon Sep 17 00:00:00 2001 From: Xwite <1797350009@qq.com> Date: Mon, 24 Jan 2022 16:53:20 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E6=BB=91=E5=8A=A8=E7=9B=AE=E5=BD=95=20?= =?UTF-8?q?=E4=B8=80=E7=BA=A7=E7=9B=AE=E5=BD=95=E7=9A=84tag=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/io/legado/app/ui/book/toc/ChapterListAdapter.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/java/io/legado/app/ui/book/toc/ChapterListAdapter.kt b/app/src/main/java/io/legado/app/ui/book/toc/ChapterListAdapter.kt index 6ce266dd3..0532877e8 100644 --- a/app/src/main/java/io/legado/app/ui/book/toc/ChapterListAdapter.kt +++ b/app/src/main/java/io/legado/app/ui/book/toc/ChapterListAdapter.kt @@ -14,6 +14,7 @@ import io.legado.app.lib.theme.ThemeUtils import io.legado.app.help.AppConfig import io.legado.app.utils.getCompatColor import io.legado.app.utils.visible +import io.legado.app.utils.gone class ChapterListAdapter(context: Context, val callback: Callback) : RecyclerAdapter(context) { @@ -68,6 +69,8 @@ class ChapterListAdapter(context: Context, val callback: Callback) : //卷名不显示tag(更新时间规则) tvTag.text = item.tag tvTag.visible() + } else { + tvTag.gone() } upHasCache(binding, isDur, cached) } else {