We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f82cd10 commit 6677b77Copy full SHA for 6677b77
FinchFramework/src/com/finchframework/finch/views/MesgEditText.java
@@ -34,11 +34,11 @@ public void setMesgText(String messageText) {
34
35
@Override
36
public Editable getText() {
37
- CharSequence current = super.getText();
38
- if ((current != null) && mMesgText.equals(current)) {
39
- current = "";
+ Editable current = super.getText();
+ if ((current != null) && mMesgText.equals(current.toString())) {
+ return Editable.Factory.getInstance().newEditable("");
40
}
41
- return Editable.Factory.getInstance().newEditable(current);
+ return current;
42
43
44
0 commit comments