Skip to content

Commit

Permalink
✨ (LekaApp): Add signup failed error to AccountCreationView
Browse files Browse the repository at this point in the history
  • Loading branch information
macteuts committed Feb 9, 2024
1 parent c5ed6fd commit 25a7b0c
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,14 @@ struct AccountCreationView: View {

var body: some View {
VStack(alignment: .center, spacing: 30) {
Text(l10n.AccountCreationView.createAccountTitle)
.font(.title)
VStack(spacing: 10) {
Text(l10n.AccountCreationView.createAccountTitle)
.font(.title)

Text(self.authManagerViewModel.errorMessage)
.font(.footnote)
.foregroundStyle(self.authManagerViewModel.showErrorAlert ? .red : .clear)
}

VStack(spacing: 15) {
TextFieldEmail(entry: self.$viewModel.email)
Expand Down

0 comments on commit 25a7b0c

Please sign in to comment.