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:
parent
744d212b86
commit
7515b77f9d
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue