diff --git a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/activities/EditContactActivity.kt b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/activities/EditContactActivity.kt index 1b6dedaf..1419a692 100644 --- a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/activities/EditContactActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/activities/EditContactActivity.kt @@ -199,9 +199,8 @@ class EditContactActivity : ContactActivity() { } val textColor = config.textColor - arrayOf(contact_name_image, contact_numbers_image, contact_emails_image, contact_addresses_image, - contact_ims_image, contact_events_image, contact_notes_image, contact_organization_image, contact_websites_image, contact_groups_image, - contact_source_image).forEach { + arrayOf(contact_name_image, contact_numbers_image, contact_emails_image, contact_addresses_image, contact_ims_image, contact_events_image, + contact_notes_image, contact_organization_image, contact_websites_image, contact_groups_image, contact_source_image).forEach { it.applyColorFilter(textColor) } @@ -233,7 +232,6 @@ class EditContactActivity : ContactActivity() { contact_toggle_favorite.apply { setImageDrawable(getStarDrawable(contact!!.starred == 1)) tag = contact!!.starred - applyColorFilter(textColor) } updateTextColors(contact_scrollview) diff --git a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/activities/ViewContactActivity.kt b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/activities/ViewContactActivity.kt index 3b7e5ce8..bf6982da 100644 --- a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/activities/ViewContactActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/activities/ViewContactActivity.kt @@ -176,9 +176,8 @@ class ViewContactActivity : ContactActivity() { } val textColor = config.textColor - arrayOf(contact_send_sms, contact_start_call, contact_send_email, contact_name_image, contact_numbers_image, contact_emails_image, - contact_addresses_image, contact_events_image, contact_source_image, contact_notes_image, contact_organization_image, - contact_websites_image, contact_groups_image).forEach { + arrayOf(contact_name_image, contact_numbers_image, contact_emails_image, contact_addresses_image, contact_events_image, contact_source_image, + contact_notes_image, contact_organization_image, contact_websites_image, contact_groups_image).forEach { it.applyColorFilter(textColor) } @@ -239,7 +238,6 @@ class ViewContactActivity : ContactActivity() { beVisible() tag = contact!!.starred setImageDrawable(getStarDrawable(tag == 1)) - applyColorFilter(config.textColor) setOnClickListener { val newIsStarred = if (tag == 1) 0 else 1