mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-11 00:38:54 +03:00
Fixes wrong use of feature flag instead of labs flag
This commit is contained in:
parent
b7efd6384c
commit
d77ce27953
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue