Fixed wrong registration state names
This commit is contained in:
parent
f004b5c107
commit
3080de2b57
@ -35,7 +35,7 @@ class AccountLoginActivity: AppCompatActivity() {
|
|||||||
// In this case, we want to know about the account registration status
|
// In this case, we want to know about the account registration status
|
||||||
private val coreListener = object: CoreListenerStub() {
|
private val coreListener = object: CoreListenerStub() {
|
||||||
override fun onAccountRegistrationStateChanged(core: Core, account: Account, state: RegistrationState, message: String) {
|
override fun onAccountRegistrationStateChanged(core: Core, account: Account, state: RegistrationState, message: String) {
|
||||||
// If account has been configured correctly, we will go through InProgress and Registered states
|
// If account has been configured correctly, we will go through Progress and Ok states
|
||||||
// Otherwise, we will be Failed.
|
// Otherwise, we will be Failed.
|
||||||
findViewById<TextView>(R.id.registration_status).text = message
|
findViewById<TextView>(R.id.registration_status).text = message
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user