mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-19 16:13:42 +02:00
Update remaining strings for FTUE.
Include homeserver in view models/state as needed. Pre-fill the user's display name as set by the server.
This commit is contained in:
+6
-3
@@ -37,11 +37,14 @@ enum MockAuthenticationVerifyEmailScreenState: MockScreenState, CaseIterable {
|
||||
let viewModel: AuthenticationVerifyEmailViewModel
|
||||
switch self {
|
||||
case .emptyAddress:
|
||||
viewModel = AuthenticationVerifyEmailViewModel(emailAddress: "")
|
||||
viewModel = AuthenticationVerifyEmailViewModel(homeserver: .mockMatrixDotOrg,
|
||||
emailAddress: "")
|
||||
case .enteredAddress:
|
||||
viewModel = AuthenticationVerifyEmailViewModel(emailAddress: "test@example.com")
|
||||
viewModel = AuthenticationVerifyEmailViewModel(homeserver: .mockMatrixDotOrg,
|
||||
emailAddress: "test@example.com")
|
||||
case .hasSentEmail:
|
||||
viewModel = AuthenticationVerifyEmailViewModel(emailAddress: "test@example.com")
|
||||
viewModel = AuthenticationVerifyEmailViewModel(homeserver: .mockMatrixDotOrg,
|
||||
emailAddress: "test@example.com")
|
||||
Task { await viewModel.updateForSentEmail() }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user