diff --git a/src/en/toptoonplus/src/eu/kanade/tachiyomi/extension/en/toptoonplus/TopToonPlusWebViewInterceptor.kt b/src/en/toptoonplus/src/eu/kanade/tachiyomi/extension/en/toptoonplus/TopToonPlusWebViewInterceptor.kt index eaaf0cd0e..6a9bdc97a 100644 --- a/src/en/toptoonplus/src/eu/kanade/tachiyomi/extension/en/toptoonplus/TopToonPlusWebViewInterceptor.kt +++ b/src/en/toptoonplus/src/eu/kanade/tachiyomi/extension/en/toptoonplus/TopToonPlusWebViewInterceptor.kt @@ -28,7 +28,7 @@ class TopToonPlusWebViewInterceptor( private val headers: Headers ) : Interceptor { - private val handler = Handler(Looper.getMainLooper()) + private val handler by lazy { Handler(Looper.getMainLooper()) } private val windowKey: String by lazy { UUID.randomUUID().toString().replace("-", "")