mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-23 18:12:44 +02:00
Fix PR remarks
This commit is contained in:
+3
@@ -28,6 +28,7 @@ enum MockAuthenticationRegistrationScreenState: MockScreenState, CaseIterable {
|
||||
case passwordWithCredentials
|
||||
case passwordWithUsernameError
|
||||
case ssoOnly
|
||||
case fallback
|
||||
|
||||
/// The associated screen
|
||||
var screenType: Any.Type {
|
||||
@@ -52,6 +53,8 @@ enum MockAuthenticationRegistrationScreenState: MockScreenState, CaseIterable {
|
||||
Task { await viewModel.displayError(.usernameUnavailable(VectorL10n.authInvalidUserName)) }
|
||||
case .ssoOnly:
|
||||
viewModel = AuthenticationRegistrationViewModel(homeserver: .mockEnterpriseSSO)
|
||||
case .fallback:
|
||||
viewModel = AuthenticationRegistrationViewModel(homeserver: .mockFallback)
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user