mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 17:29:32 +01:00
Do not allow the sending of whitespace-only messages.
This commit is contained in:
committed by
Cody Henthorne
parent
1e6126d5be
commit
e3be279f1f
@@ -1686,7 +1686,7 @@ class ConversationFragment :
|
||||
inlineAttachment.hide()
|
||||
}
|
||||
|
||||
composeText.text?.isEmpty() == true && !attachmentManager.isAttachmentPresent -> {
|
||||
composeText.text.isNullOrBlank() && !attachmentManager.isAttachmentPresent -> {
|
||||
buttonToggle.display(binding.conversationInputPanel.attachButton)
|
||||
quickAttachment.show()
|
||||
inlineAttachment.hide()
|
||||
|
||||
Reference in New Issue
Block a user