updateFinalMessage:最终的校验提示应该另起一行

pull/1591/head
Xwite 3 years ago
parent 5404c76886
commit eeb64942ad
  1. 3
      app/src/main/java/io/legado/app/model/Debug.kt

@ -97,8 +97,7 @@ object Debug {
val spendingTime = System.currentTimeMillis() - debugTimeMap[sourceUrl]!! val spendingTime = System.currentTimeMillis() - debugTimeMap[sourceUrl]!!
debugTimeMap[sourceUrl] = if (state == "成功") spendingTime else 180000L debugTimeMap[sourceUrl] = if (state == "成功") spendingTime else 180000L
val printTime = debugTimeFormat.format(Date(spendingTime)) val printTime = debugTimeFormat.format(Date(spendingTime))
val originalMessage = debugMessageMap[sourceUrl]!!.substringAfter("] ") debugMessageMap[sourceUrl] = "$printTime $state"
debugMessageMap[sourceUrl] = "$printTime $originalMessage $state"
} }
} }

Loading…
Cancel
Save