fix attendee deleting from events
This commit is contained in:
parent
92ec9e29f6
commit
3c39c193f2
|
@ -1223,7 +1223,7 @@ class EventActivity : SimpleActivity() {
|
|||
|
||||
selectedAttendeeDismiss.setOnClickListener {
|
||||
attendeeHolder.beGone()
|
||||
mSelectedContacts = mSelectedContacts.filter { it.contactId == selectedAttendeeDismiss.tag }.toMutableList() as ArrayList<Attendee>
|
||||
mSelectedContacts = mSelectedContacts.filter { it.toString() != selectedAttendeeDismiss.tag }.toMutableList() as ArrayList<Attendee>
|
||||
}
|
||||
|
||||
val adapter = AutoCompleteTextViewAdapter(this, mAvailableContacts)
|
||||
|
@ -1263,7 +1263,7 @@ class EventActivity : SimpleActivity() {
|
|||
}
|
||||
|
||||
event_contact_dismiss.apply {
|
||||
tag = attendee.contactId
|
||||
tag = attendee.toString()
|
||||
beGoneIf(attendee.isMe)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue