From b8eec9ef72365507b8c2eb1ab20d056e4b36598a Mon Sep 17 00:00:00 2001 From: kunfei Date: Fri, 2 Aug 2019 11:52:43 +0800 Subject: [PATCH] up --- .../main/java/io/legado/app/model/webbook/SourceDebug.kt | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/app/src/main/java/io/legado/app/model/webbook/SourceDebug.kt b/app/src/main/java/io/legado/app/model/webbook/SourceDebug.kt index c493709cf..7767fe73d 100644 --- a/app/src/main/java/io/legado/app/model/webbook/SourceDebug.kt +++ b/app/src/main/java/io/legado/app/model/webbook/SourceDebug.kt @@ -36,12 +36,7 @@ class SourceDebug(private val webBook: WebBook, callback: Callback) { printMsg = printMsg.htmlFormat() } if (showTime) { - printMsg = - String.format( - "%s %s", - DEBUG_TIME_FORMAT.format(Date(System.currentTimeMillis() - startTime)), - printMsg - ) + printMsg = "${DEBUG_TIME_FORMAT.format(Date(System.currentTimeMillis() - startTime))} $printMsg" } callback?.printLog(state, printMsg) }