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.

Constructors

Link copied to clipboard
constructor(currentPassword: String, isCurrentPasswordError: Boolean, newPassword: String, isNewPasswordError: Boolean, submitEnabled: Boolean, loading: Boolean)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard