Fix quote clearing bug

pull/620/head
Niels Andriesse 4 years ago
parent fa71c81ea9
commit fcdd3d9149

@ -152,6 +152,7 @@ class InputBar : RelativeLayout, InputBarEditTextDelegate, QuoteViewDelegate, Li
} }
override fun cancelLinkPreviewDraft() { override fun cancelLinkPreviewDraft() {
if (quote != null) { return }
linkPreview = null linkPreview = null
inputBarAdditionalContentContainer.removeAllViews() inputBarAdditionalContentContainer.removeAllViews()
val newHeight = max(inputBarEditText.height + 2 * vMargin, minHeight) val newHeight = max(inputBarEditText.height + 2 * vMargin, minHeight)

Loading…
Cancel
Save