mirror of
https://github.com/bitwarden/android.git
synced 2026-05-22 04:22:11 -05:00
[PM-6702] Make name optional on start registration
This commit is contained in:
@@ -217,15 +217,6 @@ class StartRegistrationViewModel @Inject constructor(
|
||||
mutableStateFlow.update { it.copy(dialog = StartRegistrationDialog.Error(dialog)) }
|
||||
}
|
||||
|
||||
state.nameInput.isBlank() -> {
|
||||
val dialog = BasicDialogState.Shown(
|
||||
title = R.string.an_error_has_occurred.asText(),
|
||||
message = R.string.validation_field_required
|
||||
.asText(R.string.name.asText()),
|
||||
)
|
||||
mutableStateFlow.update { it.copy(dialog = StartRegistrationDialog.Error(dialog)) }
|
||||
}
|
||||
|
||||
else -> {
|
||||
submitSendVerificationEmailRequest(
|
||||
captchaToken = null,
|
||||
|
||||
Reference in New Issue
Block a user