Update Riot/Modules/Room/ParticipantsInviteModal/ContactsPicker/ContactsPickerViewModel.swift

Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
This commit is contained in:
Gil Eluard
2022-02-03 20:56:47 +01:00
committed by GitHub
parent 141a31b02d
commit aff2cc47aa
@@ -105,7 +105,7 @@ class ContactsPickerViewModel: NSObject, ContactsPickerViewModelType {
contactsDataSource.forceMatrixIdInDisplayName = true
// Add a plus icon to the contact cell in the contacts picker, in order to make it more understandable for the end user.
contactsDataSource.contactCellAccessoryImage = UIImage(named: "plus_icon")?.vc_tintedImage(usingColor: ThemeService.shared().theme.textPrimaryColor)
contactsDataSource.contactCellAccessoryImage = Asset.Images.plusIcon.image.vc_tintedImage(usingColor: ThemeService.shared().theme.textPrimaryColor)
// List all the participants matrix user id to ignore them during the contacts search.
for contact in actualParticipants ?? [] {