Fix select all count in conversation list to be accurate.

This commit is contained in:
lisa-signal
2025-06-03 11:21:39 -04:00
committed by Cody Henthorne
parent 17bfb118d8
commit 4db60ac63f

View File

@@ -242,7 +242,7 @@ sealed class ConversationListViewModel(
private fun setSelection(newSelection: Collection<Conversation>) {
store.update {
val selection = newSelection.toSet()
val selection = newSelection.filter { select -> select.type == Conversation.Type.THREAD }.toSet()
it.copy(internalSelection = selection, selectedConversations = ConversationSet(selection))
}
}