mirror of
https://github.com/gedoor/legado.git
synced 2024-08-30 09:23:26 +08:00
updateFinalMessage:最终的校验提示应该另起一行
This commit is contained in:
parent
5404c76886
commit
eeb64942ad
@ -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…
Reference in New Issue
Block a user