From 81dfc447dc9b24f07b7138a6c01b282e8a54d1b7 Mon Sep 17 00:00:00 2001 From: tibbi Date: Tue, 26 Dec 2017 23:14:47 +0100 Subject: [PATCH] do not allow changing contact source of existing contacts for now --- .../simplemobiletools/contacts/activities/ContactActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/contacts/activities/ContactActivity.kt b/app/src/main/kotlin/com/simplemobiletools/contacts/activities/ContactActivity.kt index 41c10f5c..d49608bd 100644 --- a/app/src/main/kotlin/com/simplemobiletools/contacts/activities/ContactActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/contacts/activities/ContactActivity.kt @@ -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() {