From 3b1c54aec825b99c873f9b2fbdf5ccd0e1e4b8fd Mon Sep 17 00:00:00 2001 From: gedoor Date: Thu, 10 Dec 2020 19:41:28 +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/model/webBook/BookInfo.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/model/webBook/BookInfo.kt b/app/src/main/java/io/legado/app/model/webBook/BookInfo.kt index 38fd6e3e0..877fcf41b 100644 --- a/app/src/main/java/io/legado/app/model/webBook/BookInfo.kt +++ b/app/src/main/java/io/legado/app/model/webBook/BookInfo.kt @@ -44,7 +44,7 @@ object BookInfo { } Debug.log(bookSource.bookSourceUrl, "┌获取作者") BookHelp.formatBookAuthor(analyzeRule.getString(infoRule.author)).let { - if (it.isNotEmpty() && (mCanReName || book.name.isEmpty())) { + if (it.isNotEmpty() && (mCanReName || book.author.isEmpty())) { book.author = it } Debug.log(bookSource.bookSourceUrl, "└${it}")