Update SourceDebug.kt

pull/48/head
Celeter 6 years ago committed by GitHub
parent 7eb0f5895e
commit ce26bc53f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      app/src/main/java/io/legado/app/model/SourceDebug.kt

@ -61,6 +61,7 @@ object SourceDebug {
fun startDebug(webBook: WebBook, key: String) { fun startDebug(webBook: WebBook, key: String) {
cancelDebug() cancelDebug()
debugSource = webBook.sourceUrl
startTime = System.currentTimeMillis() startTime = System.currentTimeMillis()
when { when {
key.isAbsUrl() -> { key.isAbsUrl() -> {
@ -182,4 +183,4 @@ object SourceDebug {
fun printLog(state: Int, msg: String) fun printLog(state: Int, msg: String)
} }
} }

Loading…
Cancel
Save