Fix auth skip issue (#722)

This commit is contained in:
noam148 2020-08-09 18:21:45 +02:00 committed by GitHub
parent 4b886b531c
commit ebc7b796e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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) {