Skip to content

Commit

Permalink
Version 1.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Saud-97 committed Feb 19, 2023
1 parent c1537ae commit 682cfc4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ package eu.kanade.tachiyomi.network.interceptor

import android.annotation.SuppressLint
import android.content.Context
import android.os.Handler
import android.os.Looper
import android.webkit.WebView
import android.widget.Toast
import androidx.core.content.ContextCompat
Expand Down Expand Up @@ -59,7 +61,7 @@ class CloudflareInterceptor(private val context: Context) : WebViewInterceptor(c
}
}
} else {
resolveWithWebView(originalRequest, oldCookie)
resolveWithWebView(request, oldCookie)
}

return chain.proceed(request)
Expand All @@ -86,8 +88,7 @@ class CloudflareInterceptor(private val context: Context) : WebViewInterceptor(c
var isWebViewOutdated = false

val origRequestUrl = originalRequest.url.toString()
val headers =
parseHeaders(originalRequest.headers)
val headers = parseHeaders(originalRequest.headers)

executor.execute {
webView = createWebView(originalRequest)
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ subprojects {

buildscript {
dependencies {
classpath("com.android.tools.build:gradle:7.4.1")
classpath("com.android.tools.build:gradle:7.4.0-beta02")
classpath("com.google.gms:google-services:4.3.15")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${AndroidVersions.kotlin}")
classpath("com.google.android.gms:oss-licenses-plugin:0.10.6")
Expand Down

0 comments on commit 682cfc4

Please sign in to comment.