Updates following self review.

This commit is contained in:
Doug
2022-03-17 19:08:25 +00:00
parent d72b815dc1
commit 8a3664b1f2
17 changed files with 86 additions and 61 deletions
@@ -111,7 +111,8 @@ struct OnboardingDisplayNameScreen: View {
viewModel.send(viewAction: .save)
}
.buttonStyle(PrimaryActionButtonStyle())
.disabled(viewModel.displayName.isEmpty)
.disabled(viewModel.displayName.isEmpty || viewModel.viewState.validationErrorMessage != nil)
.accessibilityIdentifier("saveButton")
Button { viewModel.send(viewAction: .skip) } label: {
Text(VectorL10n.onboardingPersonalizationSkip)