Merge pull request #7061 from vector-im/feature/bma/no_ReleaseNotesActivity_on_login

Fix ReleaseNotesActivity displayed after login.
This commit is contained in:
Benoit Marty 2022-09-08 10:50:50 +02:00 committed by GitHub
commit a743cf28c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -628,6 +628,7 @@ class OnboardingViewModel @AssistedInject constructor(
}
AuthenticationDescription.Login -> {
setState { copy(isLoading = false, selectedAuthenticationState = SelectedAuthenticationState(authenticationDescription)) }
awaitState()
_viewEvents.post(OnboardingViewEvents.OnAccountSignedIn)
}
}