Better name
This commit is contained in:
parent
cf59c7db95
commit
ae29cbdc34
|
@ -63,7 +63,7 @@ sealed class LoginAction : VectorViewModelAction {
|
||||||
// For the soft logout case
|
// For the soft logout case
|
||||||
data class SetupSsoForSessionRecovery(val homeServerUrl: String,
|
data class SetupSsoForSessionRecovery(val homeServerUrl: String,
|
||||||
val deviceId: String,
|
val deviceId: String,
|
||||||
val ssoIdentityProvider: List<SsoIdentityProvider>?) : LoginAction()
|
val ssoIdentityProviders: List<SsoIdentityProvider>?) : LoginAction()
|
||||||
|
|
||||||
data class PostViewEvent(val viewEvent: LoginViewEvents) : LoginAction()
|
data class PostViewEvent(val viewEvent: LoginViewEvents) : LoginAction()
|
||||||
|
|
||||||
|
|
|
@ -205,7 +205,7 @@ class LoginViewModel @AssistedInject constructor(
|
||||||
setState {
|
setState {
|
||||||
copy(
|
copy(
|
||||||
signMode = SignMode.SignIn,
|
signMode = SignMode.SignIn,
|
||||||
loginMode = LoginMode.Sso(action.ssoIdentityProvider),
|
loginMode = LoginMode.Sso(action.ssoIdentityProviders),
|
||||||
homeServerUrl = action.homeServerUrl,
|
homeServerUrl = action.homeServerUrl,
|
||||||
deviceId = action.deviceId
|
deviceId = action.deviceId
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue