Merge remote-tracking branch 'origin/master'

# Conflicts:
#	app/src/main/java/io/legado/app/ui/sourcedebug/SourceDebugModel.kt
pull/32/head
Administrator 5 years ago
commit 846c01a416
  1. 11
      app/src/main/java/io/legado/app/model/webbook/SourceDebug.kt

@ -128,4 +128,15 @@ class SourceDebug(private val webBook: WebBook, callback: Callback) {
interface Callback { interface Callback {
fun printLog(state: Int, msg: String) fun printLog(state: Int, msg: String)
} }
fun printLog(
sourceUrl: String?,
state: Int,
msg: String,
print: Boolean = true,
isHtml: Boolean = false
): SourceDebug {
SourceDebug.printLog(sourceUrl, state, msg, print, isHtml)
return this
}
} }
Loading…
Cancel
Save