mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-27 20:09:27 +03:00
Bugfix
This commit is contained in:
parent
af3893cdc9
commit
5d65a290d2
3 changed files with 5 additions and 5 deletions
|
@ -208,19 +208,19 @@ open class LoginActivity2 : VectorBaseActivity<ActivityLoginBinding>(), ToolbarC
|
|||
// Go back to the login fragment
|
||||
supportFragmentManager.popBackStack(FRAGMENT_LOGIN_TAG, POP_BACK_STACK_EXCLUSIVE)
|
||||
}
|
||||
is LoginViewEvents2.OnSendEmailSuccess ->
|
||||
is LoginViewEvents2.OnSendEmailSuccess ->
|
||||
addFragmentToBackstack(R.id.loginFragmentContainer,
|
||||
LoginWaitForEmailFragment2::class.java,
|
||||
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,
|
||||
option = commonOption)
|
||||
}
|
||||
is LoginViewEvents2.OpenSignupPasswordScreen -> {
|
||||
is LoginViewEvents2.OpenSignupPasswordScreen -> {
|
||||
addFragmentToBackstack(R.id.loginFragmentContainer,
|
||||
LoginFragment2SignupPassword::class.java,
|
||||
tag = FRAGMENT_REGISTRATION_STAGE_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