From 062fb1fe0b08fcbb9279b8aca6c9e1796e430b34 Mon Sep 17 00:00:00 2001 From: Alex Hart Date: Mon, 12 Jan 2026 12:21:09 -0400 Subject: [PATCH] Add factory call for MainNavigationViewModel in ConversationFragment. --- .../securesms/conversation/v2/ConversationFragment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationFragment.kt b/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationFragment.kt index e4cac6dc13..192340b87b 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationFragment.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationFragment.kt @@ -513,7 +513,7 @@ class ConversationFragment : private val shareDataTimestampViewModel: ShareDataTimestampViewModel by activityViewModels() - private val mainNavigationViewModel: MainNavigationViewModel by activityViewModels() + private val mainNavigationViewModel: MainNavigationViewModel by activityViewModels { MainNavigationViewModel.Factory() } private val inlineQueryController: InlineQueryResultsControllerV2 by lazy { InlineQueryResultsControllerV2(