From 6fcbd24ce19da90ee6c80f1b89125f5147ca46da Mon Sep 17 00:00:00 2001 From: Adam Brown Date: Mon, 6 Jun 2022 10:23:06 +0100 Subject: [PATCH] reverting instance check, no longer needed as the event no longer contains any data - it's part of the initialstate instead --- .../java/im/vector/app/features/home/HomeActivityViewModel.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 20444eae89..d268999d29 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 @@ -426,7 +426,7 @@ class HomeActivityViewModel @AssistedInject constructor( HomeActivityViewActions.PushPromptHasBeenReviewed -> { vectorPreferences.setDidAskUserToEnableSessionPush() } - is HomeActivityViewActions.ViewStarted -> { + HomeActivityViewActions.ViewStarted -> { initialize() } }