mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-18 07:28:28 +02:00
MESSENGER-3707 new login flow and welcome integration
This commit is contained in:
@@ -98,7 +98,7 @@ struct AuthenticationLoginScreen: View {
|
||||
/// The form with text fields for username and password, along with a submit button.
|
||||
var loginForm: some View {
|
||||
VStack(spacing: 14) {
|
||||
RoundedBorderTextField(placeHolder: VectorL10n.authenticationLoginUsername,
|
||||
RoundedBorderTextField(placeHolder: BWIL10n.authenticationLoginUsername,
|
||||
text: $viewModel.username,
|
||||
isFirstResponder: false,
|
||||
configuration: UIKitTextInputConfiguration(returnKeyType: .next,
|
||||
@@ -118,13 +118,15 @@ struct AuthenticationLoginScreen: View {
|
||||
onCommit: submit)
|
||||
.accessibilityIdentifier("passwordTextField")
|
||||
|
||||
Button { viewModel.send(viewAction: .forgotPassword) } label: {
|
||||
Text(VectorL10n.authenticationLoginForgotPassword)
|
||||
.font(theme.fonts.body)
|
||||
if !BWIBuildSettings.shared.bumLoginFlowLayout {
|
||||
Button { viewModel.send(viewAction: .forgotPassword) } label: {
|
||||
Text(VectorL10n.authenticationLoginForgotPassword)
|
||||
.font(theme.fonts.body)
|
||||
}
|
||||
.frame(maxWidth: .infinity, alignment: .trailing)
|
||||
.padding(.bottom, 8)
|
||||
}
|
||||
.frame(maxWidth: .infinity, alignment: .trailing)
|
||||
.padding(.bottom, 8)
|
||||
|
||||
|
||||
Button(action: submit) {
|
||||
Text(VectorL10n.next)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user