From b25fce871ae170db96b36576b9fcd4a2f7a91bff Mon Sep 17 00:00:00 2001 From: Alessandro Jean Date: Tue, 17 Aug 2021 22:16:40 -0300 Subject: [PATCH] Fix inspector build exception. (#8612) --- .../extension/all/myreadingmanga/CloudflareWafInterceptor.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/all/myreadingmanga/src/eu/kanade/tachiyomi/extension/all/myreadingmanga/CloudflareWafInterceptor.kt b/src/all/myreadingmanga/src/eu/kanade/tachiyomi/extension/all/myreadingmanga/CloudflareWafInterceptor.kt index 566207353..9fcf648fa 100644 --- a/src/all/myreadingmanga/src/eu/kanade/tachiyomi/extension/all/myreadingmanga/CloudflareWafInterceptor.kt +++ b/src/all/myreadingmanga/src/eu/kanade/tachiyomi/extension/all/myreadingmanga/CloudflareWafInterceptor.kt @@ -21,7 +21,7 @@ import java.util.concurrent.TimeUnit class CloudflareWafInterceptor(private val cookieDomain: String) : Interceptor { private val context = Injekt.get() - private val handler = Handler(Looper.getMainLooper()) + private val handler by lazy { Handler(Looper.getMainLooper()) } private val cookieManager = CookieManager.getInstance() private val initWebView by lazy {