mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-06-05 21:59:27 +02:00
implement contact name updating
This commit is contained in:
@ -160,7 +160,17 @@ class ContactActivity : SimpleActivity() {
|
||||
}
|
||||
|
||||
private fun saveContact() {
|
||||
contact!!.apply {
|
||||
firstName = contact_first_name.value
|
||||
middleName = contact_middle_name.value
|
||||
surname = contact_surname.value
|
||||
number = contact_number.value
|
||||
email = contact_email.value
|
||||
|
||||
if (ContactsHelper(this@ContactActivity).updateContact(this)) {
|
||||
finish()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private fun deleteContact() {
|
||||
|
Reference in New Issue
Block a user