mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-18 20:29:10 +03:00
Fix ReleaseNotesActivity displayed after login.
Ensure the state is up to date, when we will request it later with withState{}
This commit is contained in:
parent
bdfbbbb2e6
commit
a5046d43c8
1 changed files with 1 additions and 0 deletions
|
@ -628,6 +628,7 @@ class OnboardingViewModel @AssistedInject constructor(
|
|||
}
|
||||
AuthenticationDescription.Login -> {
|
||||
setState { copy(isLoading = false, selectedAuthenticationState = SelectedAuthenticationState(authenticationDescription)) }
|
||||
awaitState()
|
||||
_viewEvents.post(OnboardingViewEvents.OnAccountSignedIn)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue