fix link attachment view

This commit is contained in:
2021-10-11 12:28:29 +03:00
parent 9457867d8e
commit fefa4f3e92
2 changed files with 2 additions and 2 deletions
@@ -241,7 +241,7 @@ class AttachmentInflater constructor(
} }
private fun link(link: VkLink) { private fun link(link: VkLink) {
val binding = ItemMessageAttachmentLinkBinding.inflate(inflater, container, true) val binding = ItemMessageAttachmentLinkBinding.inflate(inflater, textContainer, true)
binding.title.text = link.title binding.title.text = link.title
binding.title.isVisible = !link.title.isNullOrBlank() binding.title.isVisible = !link.title.isNullOrBlank()
@@ -7,7 +7,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="horizontal" android:orientation="horizontal"
android:padding="4dp"> android:padding="6dp">
<com.meloda.fast.widget.CircleImageView <com.meloda.fast.widget.CircleImageView
android:id="@+id/preview" android:id="@+id/preview"