@ -17,6 +17,7 @@
* 目录界面菜单添加替换开关,开启替换加载时间会长一些
* 书源校验添加规则失效分组,更新书源界面帮助文档
* 替换规则添加作用于标题和作用于正文
* 修复一些bug
**2022/02/09**
@ -158,7 +158,7 @@ class CacheActivity : VMBaseActivity<ActivityCacheBookBinding, CacheViewModel>()
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 }