mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 17:12:45 +02:00
MESSENGER-3062 BuM Login flow
This commit is contained in:
@@ -96,16 +96,19 @@ struct OnboardingSplashScreen: View {
|
||||
/// The main action buttons.
|
||||
var buttons: some View {
|
||||
VStack(spacing: 12) {
|
||||
Button { viewModel.send(viewAction: .register) } label: {
|
||||
Text(VectorL10n.onboardingSplashRegisterButtonTitle)
|
||||
if BwiBuildSettings.bwiOnboardingSplashScreenEnableRegister {
|
||||
Button { viewModel.send(viewAction: .register) } label: {
|
||||
Text(VectorL10n.onboardingSplashRegisterButtonTitle)
|
||||
}
|
||||
.buttonStyle(PrimaryActionButtonStyle())
|
||||
}
|
||||
.buttonStyle(PrimaryActionButtonStyle())
|
||||
|
||||
Button { viewModel.send(viewAction: .login) } label: {
|
||||
Text(VectorL10n.onboardingSplashLoginButtonTitle)
|
||||
.font(theme.fonts.body)
|
||||
.padding(12)
|
||||
}
|
||||
.buttonStyle(PrimaryActionButtonStyle())
|
||||
}
|
||||
.padding(.horizontal, 16)
|
||||
.readableFrame()
|
||||
|
||||
Reference in New Issue
Block a user