From 0c61439957133ae5056ecdf30e52838b482c6949 Mon Sep 17 00:00:00 2001 From: Ammar Githam Date: Fri, 28 May 2021 21:16:21 +0900 Subject: [PATCH] Fix favicon param can be nullable. Fixes austinhuang0131/barinsta#1353 --- app/src/main/java/awais/instagrabber/activities/Login.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/awais/instagrabber/activities/Login.kt b/app/src/main/java/awais/instagrabber/activities/Login.kt index df672964..d240b7b1 100755 --- a/app/src/main/java/awais/instagrabber/activities/Login.kt +++ b/app/src/main/java/awais/instagrabber/activities/Login.kt @@ -21,7 +21,7 @@ class Login : BaseLanguageActivity(), View.OnClickListener { private val webChromeClient = WebChromeClient() private val webViewClient: WebViewClient = object : WebViewClient() { - override fun onPageStarted(view: WebView, url: String, favicon: Bitmap) { + override fun onPageStarted(view: WebView, url: String, favicon: Bitmap?) { webViewUrl = url }