Fix inspector build exception (again). ()

This commit is contained in:
Alessandro Jean 2021-08-17 22:55:33 -03:00 committed by GitHub
parent c9651735f5
commit f3a4f33666
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
src/all/myreadingmanga/src/eu/kanade/tachiyomi/extension/all/myreadingmanga

View File

@ -22,7 +22,7 @@ import java.util.concurrent.TimeUnit
class CloudflareWafInterceptor(private val cookieDomain: String) : Interceptor {
private val context = Injekt.get<Application>()
private val handler by lazy { Handler(Looper.getMainLooper()) }
private val cookieManager = CookieManager.getInstance()
private val cookieManager by lazy { CookieManager.getInstance() }
private val initWebView by lazy {
WebSettings.getDefaultUserAgent(context)