store the proper phone number at speed dialing
This commit is contained in:
parent
474f22be38
commit
32b25e0e26
|
@ -43,7 +43,7 @@ class ManageSpeedDialActivity : SimpleActivity(), RemoveSpeedDialListener {
|
||||||
val selectedContact = addedContacts.first()
|
val selectedContact = addedContacts.first()
|
||||||
speedDialValues.first { it.id == clickedContact.id }.apply {
|
speedDialValues.first { it.id == clickedContact.id }.apply {
|
||||||
displayName = selectedContact.getNameToDisplay()
|
displayName = selectedContact.getNameToDisplay()
|
||||||
number = selectedContact.phoneNumbers.first().toString()
|
number = selectedContact.phoneNumbers.first().value
|
||||||
}
|
}
|
||||||
updateAdapter()
|
updateAdapter()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue