Always use proper primary color

This commit is contained in:
Naveen 2022-08-30 16:15:24 +05:30
parent f7c9dfbc8e
commit 737189746e
2 changed files with 3 additions and 3 deletions

View File

@ -362,7 +362,7 @@ class ThreadAdapter(
background.applyColorFilter(backgroundColor.getContrastColor()) background.applyColorFilter(backgroundColor.getContrastColor())
vcard_title.setTextColor(textColor) vcard_title.setTextColor(textColor)
vcard_subtitle.setTextColor(textColor) vcard_subtitle.setTextColor(textColor)
vcard_view_contact.setTextColor(context.getLinkTextColor()) view_contact_details.setTextColor(properPrimaryColor)
} }
thread_mesage_attachments_holder.addView(vCardView) thread_mesage_attachments_holder.addView(vCardView)

View File

@ -34,14 +34,14 @@
android:layout_marginStart="@dimen/normal_margin" android:layout_marginStart="@dimen/normal_margin"
android:textSize="@dimen/normal_text_size" android:textSize="@dimen/normal_text_size"
android:visibility="gone" 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_constraintStart_toEndOf="@id/vcard_photo"
app:layout_constraintTop_toBottomOf="@id/vcard_title" app:layout_constraintTop_toBottomOf="@id/vcard_title"
tools:text="and 6 others" tools:text="and 6 others"
tools:visibility="visible" /> tools:visibility="visible" />
<androidx.appcompat.widget.AppCompatTextView <androidx.appcompat.widget.AppCompatTextView
android:id="@+id/vcard_view_contact" android:id="@+id/view_contact_details"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="@dimen/normal_margin" android:layout_marginStart="@dimen/normal_margin"