pull/1319/head
gedoor 3 years ago
parent 1f4900b69a
commit 9aecda768d
  1. 2
      app/src/main/java/io/legado/app/model/webBook/BookContent.kt
  2. 1
      app/src/main/res/layout/item_app_log.xml

@ -116,7 +116,7 @@ object BookContent {
Debug.log(bookSource.bookSourceUrl, "┌获取正文内容") Debug.log(bookSource.bookSourceUrl, "┌获取正文内容")
Debug.log(bookSource.bookSourceUrl, "\n$contentStr") Debug.log(bookSource.bookSourceUrl, "\n$contentStr")
if (contentStr.isBlank()) { if (contentStr.isBlank()) {
throw ContentEmptyException("${bookChapter.title}内容为空") throw ContentEmptyException("内容为空")
} }
BookHelp.saveContent(bookSource, book, bookChapter, contentStr) BookHelp.saveContent(bookSource, book, bookChapter, contentStr)
return contentStr return contentStr

@ -2,6 +2,7 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:padding="6dp"
android:orientation="vertical"> android:orientation="vertical">
<TextView <TextView

Loading…
Cancel
Save