Fix build error due to Handler. (#10638)

This commit is contained in:
Alessandro Jean 2022-01-31 12:08:56 -03:00 committed by GitHub
parent f18924c1fe
commit 812e9b9dd7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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("-", "")