mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-25 20:23:19 +00:00
Fix select all count in conversation list to be accurate.
This commit is contained in:
committed by
Cody Henthorne
parent
17bfb118d8
commit
4db60ac63f
@@ -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))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user