Skip to content

Commit

Permalink
fix: remove trim of spaces when searching for messages inside a conve…
Browse files Browse the repository at this point in the history
…rsation
  • Loading branch information
alexandreferris committed Feb 5, 2024
1 parent b629f32 commit 4b5f908
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class SearchConversationMessagesViewModel @Inject constructor(
)
if (textQueryChanged && searchQuery.text.isNotBlank()) {
viewModelScope.launch {
mutableSearchQueryFlow.emit(searchQuery.text.trim())
mutableSearchQueryFlow.emit(searchQuery.text)
}
}
}
Expand Down

0 comments on commit 4b5f908

Please sign in to comment.