Fix bug where you couldn't add new raw phone numbers to groups.

This commit is contained in:
Greyson Parrelli
2023-02-17 15:17:18 -05:00
parent bb8b987833
commit fde0726500

View File

@@ -20,6 +20,7 @@ class ContactSearchRepository {
contactSearchKeys.map {
val isSelectable = when (it) {
is ContactSearchKey.RecipientSearchKey -> canSelectRecipient(it.recipientId)
is ContactSearchKey.UnknownRecipientKey -> it.sectionKey == ContactSearchConfiguration.SectionKey.PHONE_NUMBER
else -> false
}
ContactSearchSelectionResult(it, isSelectable)