mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 17:42:45 +02:00
Update remaining strings for FTUE.
Include homeserver in view models/state as needed. Pre-fill the user's display name as set by the server.
This commit is contained in:
+11
-7
@@ -62,15 +62,17 @@ struct AuthenticationServerSelectionScreen: View {
|
||||
OnboardingIconImage(image: Asset.Images.authenticationServerSelectionIcon)
|
||||
.padding(.bottom, 8)
|
||||
|
||||
Text(VectorL10n.authenticationServerSelectionTitle)
|
||||
Text(viewModel.viewState.headerTitle)
|
||||
.font(theme.fonts.title2B)
|
||||
.multilineTextAlignment(.center)
|
||||
.foregroundColor(theme.colors.primaryContent)
|
||||
.accessibilityIdentifier("headerTitle")
|
||||
|
||||
Text(VectorL10n.authenticationServerSelectionMessage)
|
||||
Text(viewModel.viewState.headerMessage)
|
||||
.font(theme.fonts.body)
|
||||
.multilineTextAlignment(.center)
|
||||
.foregroundColor(theme.colors.secondaryContent)
|
||||
.accessibilityIdentifier("headerMessage")
|
||||
}
|
||||
}
|
||||
|
||||
@@ -85,11 +87,13 @@ struct AuthenticationServerSelectionScreen: View {
|
||||
textField
|
||||
}
|
||||
|
||||
Text(viewModel.viewState.footerMessage)
|
||||
.font(theme.fonts.footnote)
|
||||
.foregroundColor(textFieldFooterColor)
|
||||
.frame(maxWidth: .infinity, alignment: .leading)
|
||||
.accessibilityIdentifier("textFieldFooter")
|
||||
if let errorMessage = viewModel.viewState.footerErrorMessage {
|
||||
Text(errorMessage)
|
||||
.font(theme.fonts.footnote)
|
||||
.foregroundColor(textFieldFooterColor)
|
||||
.frame(maxWidth: .infinity, alignment: .leading)
|
||||
.accessibilityIdentifier("textFieldFooter")
|
||||
}
|
||||
}
|
||||
|
||||
Button(action: submit) {
|
||||
|
||||
Reference in New Issue
Block a user