mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-17 23:18:27 +02:00
MESSENGER-5033 layout changes login screen oidc
This commit is contained in:
@@ -85,6 +85,16 @@ struct AuthenticationLoginScreen: View {
|
||||
ssoButtons
|
||||
.padding(.top, 16)
|
||||
}
|
||||
|
||||
VStack(spacing: 14) {
|
||||
if BWIBuildSettings.shared.authScreenShowForgotPassword {
|
||||
forgotPasswordButton
|
||||
}
|
||||
if BWIBuildSettings.shared.bwiEnableRegisterInfo {
|
||||
registerButton
|
||||
}
|
||||
}
|
||||
.padding([.vertical], BWIBuildSettings.shared.bwiLoginFlowLayout ? 36 : 0)
|
||||
|
||||
if !viewModel.viewState.homeserver.showLoginForm && !viewModel.viewState.showSSOButtons {
|
||||
fallbackButton
|
||||
@@ -165,15 +175,7 @@ struct AuthenticationLoginScreen: View {
|
||||
.buttonStyle(PrimaryActionButtonStyle())
|
||||
.disabled(!viewModel.viewState.canSubmit)
|
||||
.accessibilityIdentifier("nextButton")
|
||||
.padding([.vertical], BWIBuildSettings.shared.bwiLoginFlowLayout ? 36 : 0)
|
||||
|
||||
|
||||
if BWIBuildSettings.shared.authScreenShowForgotPassword {
|
||||
forgotPasswordButton
|
||||
}
|
||||
if BWIBuildSettings.shared.bwiEnableRegisterInfo {
|
||||
registerButton
|
||||
}
|
||||
.padding([.top], BWIBuildSettings.shared.bwiLoginFlowLayout ? 36 : 0)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user