pull/1319/head
gedoor 3 years ago
parent 15ece77407
commit f42045f1e1
  1. 2
      app/src/main/assets/updateLog.md
  2. 4
      app/src/main/java/io/legado/app/model/CacheBook.kt

@ -17,7 +17,7 @@
1. 书架菜单添加了日志,更新失败的和下载失败的信息会显示在里面
2. 书源添加校验关键字,有校验关键字的书源用此关键字校验
3. 目录添加购买标识规则
4. 正文标题使用替换,简繁转换,正文中书名,标题开头的自动去重
4. 正文标题使用替换,简繁转换,正文中书名,标题开头的自动去重
5. 其它一些优化
**2021/09/08**

@ -235,7 +235,7 @@ class CacheBook(var bookSource: BookSource, var book: Book) {
//出现错误等待一秒后重新加入待下载列表
delay(1000)
onError(chapterIndex, it, chapter.title)
downloadFinish(chapter, "error:${it.localizedMessage}")
downloadFinish(chapter, "获取正文失败\n${it.localizedMessage}")
}.onCancel {
onCancel(chapterIndex)
}.onFinally {
@ -260,7 +260,7 @@ class CacheBook(var bookSource: BookSource, var book: Book) {
downloadFinish(chapter, content, resetPageOffset)
}.onError {
onError(chapter.index, it, chapter.title)
downloadFinish(chapter, "error:${it.localizedMessage}", resetPageOffset)
downloadFinish(chapter, "获取正文失败\n${it.localizedMessage}", resetPageOffset)
}.onCancel {
onCancel(chapter.index)
}.onFinally {

Loading…
Cancel
Save