private fun displayAccountInformationErrors(inputErrors: AccountInformationErrors) { _uiState.value = uiState.value.copy( email = uiState.value.email.copy( errorId = inputErrors.emailNameErrorId ), userName = uiState.value.userName.copy( errorId = inputErrors.userNameErrorId ), password = uiState.value.password.copy( errorId = inputErrors.passwordErrorId ), confirmPassword = uiState.value.confirmPassword.copy( errorId = inputErrors.verifyPasswordErrorId ), signInProcessing = false ) }
This function display the errors on the AccountInformationScreen