Update vector/src/main/java/im/vector/app/features/home/HomeActivityViewModel.kt

Co-authored-by: Benoit Marty <benoitm@matrix.org>
This commit is contained in:
Nikita Fedrunov 2022-09-05 17:11:40 +02:00 committed by GitHub
parent 744d212b86
commit 7515b77f9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ class HomeActivityViewModel @AssistedInject constructor(
} }
private fun observeReleaseNotes() = withState { state -> private fun observeReleaseNotes() = withState { state ->
// we don't want to show release notes fore new users or after relogin // we don't want to show release notes for new users or after relogin
if (state.authenticationDescription == null && vectorFeatures.isNewAppLayoutEnabled()) { if (state.authenticationDescription == null && vectorFeatures.isNewAppLayoutEnabled()) {
releaseNotesPreferencesStore.appLayoutOnboardingShown.onEach { isAppLayoutOnboardingShown -> releaseNotesPreferencesStore.appLayoutOnboardingShown.onEach { isAppLayoutOnboardingShown ->
if (!isAppLayoutOnboardingShown) { if (!isAppLayoutOnboardingShown) {