From 737189746e13d35bac380b1af51715341fcfbab4 Mon Sep 17 00:00:00 2001 From: Naveen Date: Tue, 30 Aug 2022 16:15:24 +0530 Subject: [PATCH] Always use proper primary color --- .../simplemobiletools/smsmessenger/adapters/ThreadAdapter.kt | 2 +- app/src/main/res/layout/item_attachment_vcard.xml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/smsmessenger/adapters/ThreadAdapter.kt b/app/src/main/kotlin/com/simplemobiletools/smsmessenger/adapters/ThreadAdapter.kt index 134a2be8..baddb3ae 100644 --- a/app/src/main/kotlin/com/simplemobiletools/smsmessenger/adapters/ThreadAdapter.kt +++ b/app/src/main/kotlin/com/simplemobiletools/smsmessenger/adapters/ThreadAdapter.kt @@ -362,7 +362,7 @@ class ThreadAdapter( background.applyColorFilter(backgroundColor.getContrastColor()) vcard_title.setTextColor(textColor) vcard_subtitle.setTextColor(textColor) - vcard_view_contact.setTextColor(context.getLinkTextColor()) + view_contact_details.setTextColor(properPrimaryColor) } thread_mesage_attachments_holder.addView(vCardView) diff --git a/app/src/main/res/layout/item_attachment_vcard.xml b/app/src/main/res/layout/item_attachment_vcard.xml index 9fa559eb..36339f34 100644 --- a/app/src/main/res/layout/item_attachment_vcard.xml +++ b/app/src/main/res/layout/item_attachment_vcard.xml @@ -34,14 +34,14 @@ android:layout_marginStart="@dimen/normal_margin" android:textSize="@dimen/normal_text_size" android:visibility="gone" - app:layout_constraintBottom_toTopOf="@id/vcard_view_contact" + app:layout_constraintBottom_toTopOf="@id/view_contact_details" app:layout_constraintStart_toEndOf="@id/vcard_photo" app:layout_constraintTop_toBottomOf="@id/vcard_title" tools:text="and 6 others" tools:visibility="visible" />