mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-17 15:09:31 +02:00
refactor
This commit is contained in:
@@ -75,18 +75,18 @@ struct AuthenticationLoginScreen: View {
|
||||
qrLoginButton
|
||||
}
|
||||
|
||||
if viewModel.viewState.homeserver.showLoginForm, viewModel.viewState.showSSOButtons, BWIBuildSettings.shared.isOIDCEnabled {
|
||||
if viewModel.viewState.homeserver.showLoginForm && viewModel.viewState.showSSOButtons && BWIBuildSettings.shared.isOIDCEnabled {
|
||||
Text(VectorL10n.or)
|
||||
.foregroundColor(theme.colors.secondaryContent)
|
||||
.padding(.top, 16)
|
||||
}
|
||||
|
||||
if viewModel.viewState.showSSOButtons, BWIBuildSettings.shared.isOIDCEnabled {
|
||||
if viewModel.viewState.showSSOButtons && BWIBuildSettings.shared.isOIDCEnabled {
|
||||
ssoButtons
|
||||
.padding(.top, 16)
|
||||
}
|
||||
|
||||
if !viewModel.viewState.homeserver.showLoginForm, !viewModel.viewState.showSSOButtons {
|
||||
if !viewModel.viewState.homeserver.showLoginForm && !viewModel.viewState.showSSOButtons {
|
||||
fallbackButton
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user