mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-26 03:20:50 +02:00
Add email verification screen (#6125)
Make a reusable onboarding icon view. Use a native TextField for better dynamic type support. Rename completion to callback. Add readableFrame modifier.
This commit is contained in:
+1
-5
@@ -56,11 +56,7 @@ enum MockAuthenticationRegistrationScreenState: MockScreenState, CaseIterable {
|
||||
case .passwordWithUsernameError:
|
||||
viewModel = AuthenticationRegistrationViewModel(homeserverAddress: "https://example.com", ssoIdentityProviders: [])
|
||||
viewModel.state.hasEditedUsername = true
|
||||
Task {
|
||||
await MainActor.run {
|
||||
viewModel.displayError(.usernameUnavailable(VectorL10n.authInvalidUserName))
|
||||
}
|
||||
}
|
||||
Task { await viewModel.displayError(.usernameUnavailable(VectorL10n.authInvalidUserName)) }
|
||||
case .ssoOnly:
|
||||
viewModel = AuthenticationRegistrationViewModel(homeserverAddress: "https://company.com",
|
||||
showRegistrationForm: false,
|
||||
|
||||
Reference in New Issue
Block a user