Better name

This commit is contained in:
Benoit Marty 2020-12-14 15:11:02 +01:00
parent cf59c7db95
commit ae29cbdc34
2 changed files with 2 additions and 2 deletions

View file

@ -63,7 +63,7 @@ sealed class LoginAction : VectorViewModelAction {
// For the soft logout case
data class SetupSsoForSessionRecovery(val homeServerUrl: String,
val deviceId: String,
val ssoIdentityProvider: List<SsoIdentityProvider>?) : LoginAction()
val ssoIdentityProviders: List<SsoIdentityProvider>?) : LoginAction()
data class PostViewEvent(val viewEvent: LoginViewEvents) : LoginAction()

View file

@ -205,7 +205,7 @@ class LoginViewModel @AssistedInject constructor(
setState {
copy(
signMode = SignMode.SignIn,
loginMode = LoginMode.Sso(action.ssoIdentityProvider),
loginMode = LoginMode.Sso(action.ssoIdentityProviders),
homeServerUrl = action.homeServerUrl,
deviceId = action.deviceId
)