Fixes wrong use of feature flag instead of labs flag
This commit is contained in:
parent
b7efd6384c
commit
d77ce27953
@ -120,7 +120,7 @@ class HomeActivityViewModel @AssistedInject constructor(
|
|||||||
|
|
||||||
private fun observeReleaseNotes() = withState { state ->
|
private fun observeReleaseNotes() = withState { state ->
|
||||||
// we don't want to show release notes for new users or after relogin
|
// 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 ->
|
releaseNotesPreferencesStore.appLayoutOnboardingShown.onEach { isAppLayoutOnboardingShown ->
|
||||||
if (!isAppLayoutOnboardingShown) {
|
if (!isAppLayoutOnboardingShown) {
|
||||||
releaseNotesPreferencesStore.setAppLayoutOnboardingShown(true)
|
releaseNotesPreferencesStore.setAppLayoutOnboardingShown(true)
|
||||||
|
Loading…
Reference in New Issue
Block a user