Changes LoginActivity onSignModeSelected SSO case

This commit is contained in:
ericdecanini 2022-03-07 13:38:30 +01:00
parent e1f227a545
commit 04af8b2360

View file

@ -252,7 +252,7 @@ open class LoginActivity : VectorBaseActivity<ActivityLoginBinding>(), UnlockedA
// It depends on the LoginMode
when (state.loginMode) {
LoginMode.Unknown,
is LoginMode.Sso -> error("Developer error")
is LoginMode.Sso,
is LoginMode.SsoAndPassword,
LoginMode.Password -> addFragmentToBackstack(views.loginFragmentContainer,
LoginFragment::class.java,