Skip to content

Commit 6677b77

Browse files
committed
Update MesgEditText.java
Fixed for Jelly Bean, maybe ICS too :)
1 parent f82cd10 commit 6677b77

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

FinchFramework/src/com/finchframework/finch/views/MesgEditText.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ public void setMesgText(String messageText) {
3434

3535
@Override
3636
public Editable getText() {
37-
CharSequence current = super.getText();
38-
if ((current != null) && mMesgText.equals(current)) {
39-
current = "";
37+
Editable current = super.getText();
38+
if ((current != null) && mMesgText.equals(current.toString())) {
39+
return Editable.Factory.getInstance().newEditable("");
4040
}
41-
return Editable.Factory.getInstance().newEditable(current);
41+
return current;
4242
}
4343

4444
@Override

0 commit comments

Comments
 (0)