pull/1352/head
gedoor 3 years ago
parent 4b18691be6
commit c911bfb9f9
  1. 3
      app/src/main/java/io/legado/app/help/http/BackstageWebView.kt
  2. 12
      app/src/main/java/io/legado/app/help/http/RetryInterceptor.kt

@ -28,7 +28,7 @@ class BackstageWebView(
private val sourceRegex: String? = null,
private val javaScript: String? = null,
) {
private lateinit var job: Job
private val mHandler = Handler(Looper.getMainLooper())
private var callback: Callback? = null
private var mWebView: WebView? = null
@ -98,7 +98,6 @@ class BackstageWebView(
private fun destroy() {
mWebView?.destroy()
mWebView = null
job.cancel()
}
private fun getJs(): String {

@ -1,12 +0,0 @@
package io.legado.app.help.http
import okhttp3.Interceptor
import okhttp3.Response
class RetryInterceptor : Interceptor {
override fun intercept(chain: Interceptor.Chain): Response {
TODO("Not yet implemented")
}
}
Loading…
Cancel
Save