Skip to content

Commit

Permalink
refractor: Set only one entry as 'ContactChipAdapter' for easier mana…
Browse files Browse the repository at this point in the history
…gement
  • Loading branch information
NicolasBourdin88 committed Oct 30, 2024
1 parent 1fe76a6 commit c3c480f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ class RecipientFieldView @JvmOverloads constructor(
fun initRecipients(initialRecipients: List<Recipient>, otherFieldsAreAllEmpty: Boolean = true) {

initialRecipients.forEach { recipient ->
if (contactChipAdapter.addChip(recipient)) contactAdapter.addUsedContact(recipient.email)
addRecipient(recipient.email, recipient.name)
}

updateCollapsedChipValues(isSelfCollapsed)
Expand Down

0 comments on commit c3c480f

Please sign in to comment.