From 3f56a900db567eed82201d0e2c65533589a41006 Mon Sep 17 00:00:00 2001 From: kunfei Date: Fri, 11 Feb 2022 18:35:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/assets/updateLog.md | 1 + app/src/main/java/io/legado/app/ui/book/cache/CacheActivity.kt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/assets/updateLog.md b/app/src/main/assets/updateLog.md index 77afa0fa2..ae7281dfb 100644 --- a/app/src/main/assets/updateLog.md +++ b/app/src/main/assets/updateLog.md @@ -17,6 +17,7 @@ * 目录界面菜单添加替换开关,开启替换加载时间会长一些 * 书源校验添加规则失效分组,更新书源界面帮助文档 * 替换规则添加作用于标题和作用于正文 +* 修复一些bug **2022/02/09** diff --git a/app/src/main/java/io/legado/app/ui/book/cache/CacheActivity.kt b/app/src/main/java/io/legado/app/ui/book/cache/CacheActivity.kt index aac0d62d7..fea90d039 100644 --- a/app/src/main/java/io/legado/app/ui/book/cache/CacheActivity.kt +++ b/app/src/main/java/io/legado/app/ui/book/cache/CacheActivity.kt @@ -158,7 +158,7 @@ class CacheActivity : VMBaseActivity() else -> appDb.bookDao.flowByGroup(groupId) }.collect { list -> val booksDownload = list.filter { - it.isOnLineTxt() + it.type == 0 } val books = when (getPrefInt(PreferKey.bookshelfSort)) { 1 -> booksDownload.sortedByDescending { it.latestChapterTime }