do not allow changing contact source of existing contacts for now

This commit is contained in:
tibbi 2017-12-26 23:14:47 +01:00
parent eeb2518547
commit 81dfc447dc
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,6 @@ class ContactActivity : SimpleActivity() {
contact_send_sms.setOnClickListener { trySendSMS() }
contact_start_call.setOnClickListener { tryStartCall(contact!!) }
contact_send_email.setOnClickListener { trySendEmail() }
contact_source.setOnClickListener { showAccountSourcePicker() }
contact_number_add_new.setOnClickListener { addNewPhoneNumberField() }
contact_email_add_new.setOnClickListener { addNewEmailField() }
@ -223,6 +222,7 @@ class ContactActivity : SimpleActivity() {
window.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_VISIBLE)
supportActionBar?.title = resources.getString(R.string.new_contact)
contact = Contact(0, "", "", "", "", ArrayList(), ArrayList(), "")
contact_source.setOnClickListener { showAccountSourcePicker() }
}
private fun showPhotoPlaceholder() {