mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 00:24:43 +02:00
Refinements to onboarding personalisation flow.
Fix incorrect fonts and use autocapitalization on the display name field. Fix bug where authentication view controller would become active again after registration. Improve EffectsView API.
This commit is contained in:
@@ -80,7 +80,7 @@ struct OnboardingDisplayNameScreen: View {
|
||||
.foregroundColor(theme.colors.primaryContent)
|
||||
|
||||
Text(VectorL10n.onboardingDisplayNameMessage)
|
||||
.font(theme.fonts.subheadline)
|
||||
.font(theme.fonts.body)
|
||||
.multilineTextAlignment(.center)
|
||||
.foregroundColor(theme.colors.secondaryContent)
|
||||
}
|
||||
@@ -92,6 +92,7 @@ struct OnboardingDisplayNameScreen: View {
|
||||
TextField(VectorL10n.onboardingDisplayNamePlaceholder, text: $viewModel.displayName) {
|
||||
isEditingTextField = $0
|
||||
}
|
||||
.autocapitalization(.words)
|
||||
.textFieldStyle(BorderedInputFieldStyle(theme: _theme,
|
||||
isEditing: isEditingTextField,
|
||||
isError: viewModel.viewState.validationErrorMessage != nil))
|
||||
|
||||
Reference in New Issue
Block a user