From c7983b8d449aa1eda3255e25e2807bb7c2f685a5 Mon Sep 17 00:00:00 2001 From: Jason Yao Date: Fri, 20 Aug 2021 17:12:55 -0400 Subject: [PATCH] Update Debug.kt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 防止影响到调试功能 --- app/src/main/java/io/legado/app/model/Debug.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/io/legado/app/model/Debug.kt b/app/src/main/java/io/legado/app/model/Debug.kt index e30373143..12e99d95b 100644 --- a/app/src/main/java/io/legado/app/model/Debug.kt +++ b/app/src/main/java/io/legado/app/model/Debug.kt @@ -35,8 +35,8 @@ object Debug { showTime: Boolean = true, state: Int = 1 ) { - if (AppConfig.checkSourceMessage) { - if (isChecking && sourceUrl != null && (msg ?: "").length < 30) { + if (AppConfig.checkSourceMessage && isChecking) { + if (sourceUrl != null && (msg ?: "").length < 30) { var printMsg = msg ?: "" if (isHtml) { printMsg = HtmlFormatter.format(msg)