mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-24 02:15:46 +03:00
Bugfix
This commit is contained in:
parent
af3893cdc9
commit
5d65a290d2
3 changed files with 5 additions and 5 deletions
|
@ -214,7 +214,7 @@ open class LoginActivity2 : VectorBaseActivity<ActivityLoginBinding>(), ToolbarC
|
|||
LoginWaitForEmailFragmentArgument(event.email),
|
||||
tag = FRAGMENT_REGISTRATION_STAGE_TAG,
|
||||
option = commonOption)
|
||||
is LoginViewEvents2.OpenPasswordScreen -> {
|
||||
is LoginViewEvents2.OpenSigninPasswordScreen -> {
|
||||
addFragmentToBackstack(R.id.loginFragmentContainer,
|
||||
LoginFragment2SigninPassword::class.java,
|
||||
tag = FRAGMENT_LOGIN_TAG,
|
||||
|
|
|
@ -30,7 +30,7 @@ sealed class LoginViewEvents2 : VectorViewEvents {
|
|||
object OutdatedHomeserver : LoginViewEvents2()
|
||||
|
||||
// Navigation event
|
||||
object OpenPasswordScreen : LoginViewEvents2()
|
||||
object OpenSigninPasswordScreen : LoginViewEvents2()
|
||||
object OpenSignupPasswordScreen : LoginViewEvents2()
|
||||
|
||||
object OpenSignInEnterIdentifierScreen : LoginViewEvents2()
|
||||
|
|
|
@ -646,7 +646,7 @@ class LoginViewModel2 @AssistedInject constructor(
|
|||
is LoginMode.SsoAndPassword -> {
|
||||
retrieveProfileInfo(action.username)
|
||||
// We can navigate to the password screen
|
||||
LoginViewEvents2.OpenPasswordScreen
|
||||
LoginViewEvents2.OpenSigninPasswordScreen
|
||||
}
|
||||
is LoginMode.Sso -> {
|
||||
LoginViewEvents2.OpenSsoOnlyScreen
|
||||
|
|
Loading…
Reference in a new issue