mirror of
https://github.com/accelforce/Yuito
synced 2025-02-07 23:28:54 +01:00
correctly hide the loading indicator when instance returns an error on login
This commit is contained in:
parent
b579a9baea
commit
cef4c6053d
@ -154,6 +154,7 @@ class LoginActivity : AppCompatActivity(), Injectable {
|
||||
if (!response.isSuccessful) {
|
||||
loginButton.isEnabled = true
|
||||
domainEditText.error = getString(R.string.error_failed_app_registration)
|
||||
setLoading(false)
|
||||
Log.e(TAG, "App authentication failed. " + response.message())
|
||||
return
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user