Merge pull request #1456 from bemusementpark/fix-multi-quote

[SES-1755] Fix multiple quote previews creatable
This commit is contained in:
Andrew 2024-04-16 10:20:02 +09:30 committed by GitHub
commit 4cc694bfbe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -140,6 +140,8 @@ class InputBar : RelativeLayout, InputBarEditTextDelegate, QuoteViewDelegate, Li
} }
fun draftQuote(thread: Recipient, message: MessageRecord, glide: GlideRequests) { fun draftQuote(thread: Recipient, message: MessageRecord, glide: GlideRequests) {
quoteView?.let(binding.inputBarAdditionalContentContainer::removeView)
quote = message quote = message
// If we already have a link preview View then clear the 'additional content' layout so that // If we already have a link preview View then clear the 'additional content' layout so that