Hide photo/mic options on whitespace entry

Fixes #7204
fork-5.53.8
Moxie Marlinspike 2017-11-19 16:53:12 -08:00
rodzic 08c72ed874
commit be6a51b123
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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 {