From c37e3e77203279e83f0b3f456c8a942d3e872598 Mon Sep 17 00:00:00 2001 From: Boris Safonov Date: Wed, 4 Oct 2023 15:14:55 +0300 Subject: [PATCH] Fix build --- .../ui/home/conversationslist/ConversationListViewModel.kt | 2 +- .../android/ui/sharing/ImportMediaAuthenticatedViewModel.kt | 2 +- kalium | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/kotlin/com/wire/android/ui/home/conversationslist/ConversationListViewModel.kt b/app/src/main/kotlin/com/wire/android/ui/home/conversationslist/ConversationListViewModel.kt index b9d3848d116..4526cd3f5b4 100644 --- a/app/src/main/kotlin/com/wire/android/ui/home/conversationslist/ConversationListViewModel.kt +++ b/app/src/main/kotlin/com/wire/android/ui/home/conversationslist/ConversationListViewModel.kt @@ -152,7 +152,7 @@ class ConversationListViewModel @Inject constructor( } viewModelScope.launch { searchQueryFlow.combine( - observeConversationListDetails(includeArchived = false) + observeConversationListDetails(fromArchive = false) .map { it.map { conversationDetails -> conversationDetails.toConversationItem( diff --git a/app/src/main/kotlin/com/wire/android/ui/sharing/ImportMediaAuthenticatedViewModel.kt b/app/src/main/kotlin/com/wire/android/ui/sharing/ImportMediaAuthenticatedViewModel.kt index 327d81e7188..e76814f5cfb 100644 --- a/app/src/main/kotlin/com/wire/android/ui/sharing/ImportMediaAuthenticatedViewModel.kt +++ b/app/src/main/kotlin/com/wire/android/ui/sharing/ImportMediaAuthenticatedViewModel.kt @@ -119,7 +119,7 @@ class ImportMediaAuthenticatedViewModel @Inject constructor( @OptIn(ExperimentalCoroutinesApi::class) private suspend fun observeConversationWithSearch() = viewModelScope.launch { searchQueryFlow.mapLatest { searchQuery -> - val conversations = observeConversationListDetails(includeArchived = false).first() + val conversations = observeConversationListDetails(fromArchive = false).first() .mapNotNull { conversationDetails -> conversationDetails.toConversationItem( wireSessionImageLoader, diff --git a/kalium b/kalium index ca85792660b..eb0cfe9280e 160000 --- a/kalium +++ b/kalium @@ -1 +1 @@ -Subproject commit ca85792660b9a9868fede232e6d2221da47a0566 +Subproject commit eb0cfe9280e10a6e46c6e9cdadd076657cfbb840