public void CreateWallet() { disableOperationPanels(); showLoadingIndicatorPanel(); // Here we call CreateAccount() and we send it a password to encrypt the new account StartCoroutine(CreateAccountCoroutine(passwordInputField.passwordString(), passwordInputField.userString())); }
public void CreateWallet() { if (passwordInputField.passwordConfirmed()) { disableOperationPanels(); showLoadingIndicatorPanel(); // Here we call CreateAccount() and we send it a password to encrypt the new account StartCoroutine(CreateAccountCoroutine(passwordInputField.passwordString(), "Account " + (walletList.Count + 1))); } else { logText.Log("passwords don't match"); } }