forked from melod1n/fast-messenger
fix link attachment view
This commit is contained in:
@@ -241,7 +241,7 @@ class AttachmentInflater constructor(
|
||||
}
|
||||
|
||||
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.isVisible = !link.title.isNullOrBlank()
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:padding="4dp">
|
||||
android:padding="6dp">
|
||||
|
||||
<com.meloda.fast.widget.CircleImageView
|
||||
android:id="@+id/preview"
|
||||
|
||||
Reference in New Issue
Block a user