Login screen would briefly display an dummy error when authentication succeeded.
This commit is contained in:
parent
7a72558d1a
commit
1ee9f021ce
|
@ -107,7 +107,8 @@ class LoginActivity : AppCompatActivity() {
|
|||
Userinfo.get()?.let {
|
||||
dialog.dismiss()
|
||||
startActivity(Intent(this@LoginActivity, MainActivity::class.java))
|
||||
finish()
|
||||
|
||||
return@launch finish()
|
||||
}
|
||||
|
||||
throw Exception(getString(R.string.login_error_userinfo))
|
||||
|
|
Loading…
Reference in New Issue