diff --git a/vector/src/main/java/im/vector/app/features/home/HomeActivityViewModel.kt b/vector/src/main/java/im/vector/app/features/home/HomeActivityViewModel.kt index 156c1fca2f..2c8ee48d39 100644 --- a/vector/src/main/java/im/vector/app/features/home/HomeActivityViewModel.kt +++ b/vector/src/main/java/im/vector/app/features/home/HomeActivityViewModel.kt @@ -120,7 +120,7 @@ class HomeActivityViewModel @AssistedInject constructor( private fun observeReleaseNotes() = withState { state -> // we don't want to show release notes for new users or after relogin - if (state.authenticationDescription == null && vectorFeatures.isNewAppLayoutFeatureEnabled()) { + if (state.authenticationDescription == null && vectorPreferences.isNewAppLayoutEnabled()) { releaseNotesPreferencesStore.appLayoutOnboardingShown.onEach { isAppLayoutOnboardingShown -> if (!isAppLayoutOnboardingShown) { releaseNotesPreferencesStore.setAppLayoutOnboardingShown(true)