pull/1612/head
kunfei 3 years ago
parent 4005fda609
commit 3f56a900db
  1. 1
      app/src/main/assets/updateLog.md
  2. 2
      app/src/main/java/io/legado/app/ui/book/cache/CacheActivity.kt

@ -17,6 +17,7 @@
* 目录界面菜单添加替换开关,开启替换加载时间会长一些 * 目录界面菜单添加替换开关,开启替换加载时间会长一些
* 书源校验添加规则失效分组,更新书源界面帮助文档 * 书源校验添加规则失效分组,更新书源界面帮助文档
* 替换规则添加作用于标题和作用于正文 * 替换规则添加作用于标题和作用于正文
* 修复一些bug
**2022/02/09** **2022/02/09**

@ -158,7 +158,7 @@ class CacheActivity : VMBaseActivity<ActivityCacheBookBinding, CacheViewModel>()
else -> appDb.bookDao.flowByGroup(groupId) else -> appDb.bookDao.flowByGroup(groupId)
}.collect { list -> }.collect { list ->
val booksDownload = list.filter { val booksDownload = list.filter {
it.isOnLineTxt() it.type == 0
} }
val books = when (getPrefInt(PreferKey.bookshelfSort)) { val books = when (getPrefInt(PreferKey.bookshelfSort)) {
1 -> booksDownload.sortedByDescending { it.latestChapterTime } 1 -> booksDownload.sortedByDescending { it.latestChapterTime }

Loading…
Cancel
Save