821938089 4 년 전
부모
커밋
b1b6541e9e
1개의 변경된 파일과 2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      app/src/main/java/io/legado/app/model/ReadBook.kt

+ 2 - 1
app/src/main/java/io/legado/app/model/ReadBook.kt

@@ -310,8 +310,9 @@ object ReadBook : CoroutineScope by MainScope() {
         if (book != null && bookSource != null) {
             CacheBook.getOrCreate(bookSource, book).download(scope, chapter)
         } else if (book != null) {
+            val msg = if (book.isLocalBook()) "无内容" else "没有书源"
             contentLoadFinish(
-                book, chapter, "没有书源", resetPageOffset = resetPageOffset
+                book, chapter, "加载正文失败\n$msg", resetPageOffset = resetPageOffset
             ) {
                 success?.invoke()
             }