From 350643c8a400644268319bb5906f639de837a8e8 Mon Sep 17 00:00:00 2001 From: Adam Brown Date: Thu, 28 Apr 2022 15:54:18 +0100 Subject: [PATCH] resetting authentication state when the viewmodel resets whilst in the email entry step - matching legacy flow --- .../features/onboarding/ftueauth/FtueAuthEmailEntryFragment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vector/src/main/java/im/vector/app/features/onboarding/ftueauth/FtueAuthEmailEntryFragment.kt b/vector/src/main/java/im/vector/app/features/onboarding/ftueauth/FtueAuthEmailEntryFragment.kt index d89214b46a..20d1a10e0f 100644 --- a/vector/src/main/java/im/vector/app/features/onboarding/ftueauth/FtueAuthEmailEntryFragment.kt +++ b/vector/src/main/java/im/vector/app/features/onboarding/ftueauth/FtueAuthEmailEntryFragment.kt @@ -74,6 +74,6 @@ class FtueAuthEmailEntryFragment @Inject constructor() : AbstractFtueAuthFragmen } override fun resetViewModel() { - // Nothing to do + viewModel.handle(OnboardingAction.ResetAuthenticationAttempt) } }