Package-level declarations

Types

Link copied to clipboard

The route to the change password screen

Link copied to clipboard
class ChangePasswordScreenViewModel(changeUserPassword: ChangeUserPassword, validateUserPassword: ValidateUserPassword, router: Router) : ViewModel
Link copied to clipboard
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.

Functions

Link copied to clipboard
@TestOnly
fun ChangePasswordLayout(uiState: ChangePasswordUiState, alertState: AppAlertState, onCurrentPasswordChange: (String) -> Unit, onNewPasswordChange: (String) -> Unit, onSubmit: () -> Unit, onBackClicked: () -> Unit)
Link copied to clipboard

UI of the change password screen.

Link copied to clipboard

Utility method to provide the route to change password screen in a NavGraphBuilder