Skip to content

Commit

Permalink
fix(android, compile): assert webview context non-null for API30 comp…
Browse files Browse the repository at this point in the history
…ile (#143)
  • Loading branch information
dburdan authored Sep 23, 2020
1 parent 7888493 commit dcf8837
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ internal class SignInWebViewDialogFragment : DialogFragment() {
): View? {
super.onCreateView(inflater, container, savedInstanceState)

val webView = WebView(context).apply {
val webView = WebView(context!!).apply {
settings.apply {
javaScriptEnabled = true
javaScriptCanOpenWindowsAutomatically = true
Expand Down

0 comments on commit dcf8837

Please sign in to comment.