diff --git a/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/input_bar/InputBar.kt b/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/input_bar/InputBar.kt index f9cbea2b1f..3544f11b10 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/input_bar/InputBar.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/input_bar/InputBar.kt @@ -180,7 +180,7 @@ class InputBar : RelativeLayout, InputBarEditTextDelegate, QuoteViewDelegate, Li // message we'll bail early if a link preview View already exists and just let // `updateLinkPreview` get called to update the existing View. if (linkPreview != null && linkPreviewDraftView != null) return - + linkPreviewDraftView?.let(binding.inputBarAdditionalContentContainer::removeView) linkPreviewDraftView = LinkPreviewDraftView(context).also { it.delegate = this } // Add the link preview View. Note: If there's already a quote View in the 'additional