ChangePasswordUiState
data class ChangePasswordUiState(val currentPassword: String, val isCurrentPasswordError: Boolean, val newPassword: String, val isNewPasswordError: Boolean, val submitEnabled: Boolean, val loading: Boolean)
State of the change password screen UI.
Parameters
currentPassword
the current password entered by the user.
isCurrentPasswordError
whether or not the current password entered by the user is not valid.
newPassword
the new password entered by the user.
isNewPasswordError
whether or not the new password entered by the user is not valid.
submitEnabled
whether or not the submit button is enabled.
loading
whether or not there is an ongoing operation.