From f7bb3658ab58de5daae6d1952eaa73ac599914ba Mon Sep 17 00:00:00 2001 From: gedoor Date: Mon, 13 Jul 2020 15:54:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/io/legado/app/data/entities/Book.kt | 2 +- app/src/main/java/io/legado/app/help/http/HttpHelper.kt | 3 +-- 2 files changed, 2 insertions(+), 3 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 b85cbffdf..4ab350534 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 @@ -23,7 +23,7 @@ import kotlin.math.max ) data class Book( @PrimaryKey - override var bookUrl: String = "", // 详情页Url(本地书源存储完整文件路径) + override var bookUrl: String = "", // 详情页Url(本地书源存储完整文件路径) var tocUrl: String = "", // 目录页Url (toc=table of Contents) var origin: String = BookType.local, // 书源URL(默认BookType.local) var originName: String = "", //书源名称 or 本地书籍文件名 diff --git a/app/src/main/java/io/legado/app/help/http/HttpHelper.kt b/app/src/main/java/io/legado/app/help/http/HttpHelper.kt index c539d808d..7150284ff 100644 --- a/app/src/main/java/io/legado/app/help/http/HttpHelper.kt +++ b/app/src/main/java/io/legado/app/help/http/HttpHelper.kt @@ -19,8 +19,7 @@ object HttpHelper { val client: OkHttpClient by lazy { - val cookieJar = - PersistentCookieJar(SetCookieCache(), CookieStore) + val cookieJar = PersistentCookieJar(SetCookieCache(), CookieStore) val specs = arrayListOf( ConnectionSpec.MODERN_TLS,