store the proper phone number at speed dialing

This commit is contained in:
tibbi 2020-01-20 22:59:23 +01:00
parent 474f22be38
commit 32b25e0e26
1 changed files with 1 additions and 1 deletions

View File

@ -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()
} }