Commit d6387788 authored by Grigory Fedorov's avatar Grigory Fedorov

Fix chat send button behavior when spaces typed #448

parent 79501938
...@@ -260,7 +260,7 @@ public class ChatViewerFragment extends Fragment implements PopupMenu.OnMenuItem ...@@ -260,7 +260,7 @@ public class ChatViewerFragment extends Fragment implements PopupMenu.OnMenuItem
} }
private void setSendButtonColor() { private void setSendButtonColor() {
boolean empty = inputView.getText().toString().isEmpty(); boolean empty = inputView.getText().toString().trim().isEmpty();
if (empty != isInputEmpty) { if (empty != isInputEmpty) {
isInputEmpty = empty; isInputEmpty = empty;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment