Hide photo/mic options on whitespace entry

Fixes #7204
master
Moxie Marlinspike 2017-11-19 16:53:12 -08:00
parent 08c72ed874
commit be6a51b123
1 changed files with 1 additions and 1 deletions

View File

@ -1742,7 +1742,7 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
}
private void updateToggleButtonState() {
if (composeText.getTextTrimmed().length() == 0 && !attachmentManager.isAttachmentPresent()) {
if (composeText.getText().length() == 0 && !attachmentManager.isAttachmentPresent()) {
buttonToggle.display(attachButton);
quickAttachmentToggle.show();
} else {