mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-04-07 06:41:02 +02:00
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…
x
Reference in New Issue
Block a user