From bf27e2107322a788677028308f45b7654373b91a Mon Sep 17 00:00:00 2001 From: kunfei Date: Mon, 12 Aug 2019 22:54:02 +0800 Subject: [PATCH] up --- app/src/main/java/io/legado/app/data/entities/Book.kt | 2 +- app/src/main/java/io/legado/app/data/entities/SearchBook.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/io/legado/app/data/entities/Book.kt b/app/src/main/java/io/legado/app/data/entities/Book.kt index e02d8ff06..2274a973c 100644 --- a/app/src/main/java/io/legado/app/data/entities/Book.kt +++ b/app/src/main/java/io/legado/app/data/entities/Book.kt @@ -19,7 +19,7 @@ import kotlin.math.max data class Book( @PrimaryKey var bookUrl: String = "", // 详情页Url(本地书源存储完整文件路径) - var tocUrl: String? = null, // 目录页Url (toc=table of Contents) + var tocUrl: String = "", // 目录页Url (toc=table of Contents) var origin: String = BookType.local, // 书源URL(默认BookType.local) var originName: String = "", //书源名称 var name: String? = null, // 书籍名称(书源获取) diff --git a/app/src/main/java/io/legado/app/data/entities/SearchBook.kt b/app/src/main/java/io/legado/app/data/entities/SearchBook.kt index fea706639..819d45758 100644 --- a/app/src/main/java/io/legado/app/data/entities/SearchBook.kt +++ b/app/src/main/java/io/legado/app/data/entities/SearchBook.kt @@ -26,7 +26,7 @@ data class SearchBook( var intro: String? = null, var wordCount: String? = null, var latestChapterTitle: String? = null, - var tocUrl: String? = null, // 目录页Url (toc=table of Contents) + var tocUrl: String = "", // 目录页Url (toc=table of Contents) var time: Long = 0L, var variable: String? = null, var bookInfoHtml: String? = null,