formatting

This commit is contained in:
Adam Brown 2022-06-08 11:32:46 +01:00
parent 0d80bdfd41
commit 1d3b4e9829

View File

@ -178,7 +178,7 @@ class FtueAuthVariant(
) )
} }
} }
OnboardingViewEvents.OnResetPasswordBreakerConfirmed -> { OnboardingViewEvents.OnResetPasswordBreakerConfirmed -> {
supportFragmentManager.popBackStack(FRAGMENT_LOGIN_TAG, FragmentManager.POP_BACK_STACK_INCLUSIVE) supportFragmentManager.popBackStack(FRAGMENT_LOGIN_TAG, FragmentManager.POP_BACK_STACK_INCLUSIVE)
activity.addFragmentToBackstack( activity.addFragmentToBackstack(
views.loginFragmentContainer, views.loginFragmentContainer,
@ -186,12 +186,12 @@ class FtueAuthVariant(
option = commonOption option = commonOption
) )
} }
is OnboardingViewEvents.OpenResetPasswordComplete -> { is OnboardingViewEvents.OpenResetPasswordComplete -> {
supportFragmentManager.popBackStack(FRAGMENT_LOGIN_TAG, FragmentManager.POP_BACK_STACK_INCLUSIVE) supportFragmentManager.popBackStack(FRAGMENT_LOGIN_TAG, FragmentManager.POP_BACK_STACK_INCLUSIVE)
addLoginStageFragmentToBackstack(FtueAuthResetPasswordSuccessFragment::class.java) addLoginStageFragmentToBackstack(FtueAuthResetPasswordSuccessFragment::class.java)
} }
OnboardingViewEvents.OnResetPasswordComplete -> { OnboardingViewEvents.OnResetPasswordComplete -> {
supportFragmentManager.popBackStack(FRAGMENT_LOGIN_TAG, FragmentManager.POP_BACK_STACK_INCLUSIVE) activity.popBackstack()
} }
is OnboardingViewEvents.OnSendEmailSuccess -> { is OnboardingViewEvents.OnSendEmailSuccess -> {
openWaitForEmailVerification(viewEvents.email) openWaitForEmailVerification(viewEvents.email)