Fixed wrong registration state names

merge-requests/11/head
Sylvain Berfini 3 years ago
parent f004b5c107
commit 3080de2b57

@ -35,7 +35,7 @@ class AccountLoginActivity: AppCompatActivity() {
// In this case, we want to know about the account registration status
private val coreListener = object: CoreListenerStub() {
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.
findViewById<TextView>(R.id.registration_status).text = message

Loading…
Cancel
Save