mirror of
https://github.com/home-assistant/android
synced 2024-09-06 17:23:32 +00:00
Fix auth skip issue (#722)
This commit is contained in:
parent
4b886b531c
commit
ebc7b796e8
|
@ -354,9 +354,7 @@ class WebViewActivity : AppCompatActivity(), io.homeassistant.companion.android.
|
|||
if (result == Authenticator.SUCCESS) {
|
||||
unlocked = true
|
||||
blurView.setBlurEnabled(false)
|
||||
} else if (result == Authenticator.CANCELED)
|
||||
finishAffinity()
|
||||
else authenticator.authenticate()
|
||||
} else finishAffinity()
|
||||
}
|
||||
|
||||
override fun onWindowFocusChanged(hasFocus: Boolean) {
|
||||
|
|
Loading…
Reference in a new issue