Skip to content

Commit

Permalink
Disable button when the EditText is empty.
Browse files Browse the repository at this point in the history
  • Loading branch information
adrygll2 committed Jul 24, 2016
1 parent ddd1a9b commit 3459a1b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/src/main/java/org/literacyapp/chat/ChatActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ public void onClick(View view) {

String text = mTextMessage.getText().toString();
Log.i(getClass().getName(), "text: " + text);
System.out.println(text);

// Check if the EditText is empty
if(!text.isEmpty()){
Expand Down

0 comments on commit 3459a1b

Please sign in to comment.