Skip to content

Commit

Permalink
Fixed clear focus bug
Browse files Browse the repository at this point in the history
  • Loading branch information
AliAzaz committed Jun 1, 2019
1 parent 19f2732 commit c9dc779
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
Binary file modified .idea/caches/gradle_models.ser
Binary file not shown.
3 changes: 3 additions & 0 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,8 @@ public boolean isEmptyTextBox() {
invalidate();
return false;
}
super.setError(null);
invalidate();
return true;
}

Expand Down Expand Up @@ -222,6 +224,8 @@ public boolean isRangeTextValidate() {
invalidate();
return false;
}
super.setError(null);
invalidate();
return true;
}

Expand All @@ -234,7 +238,6 @@ public boolean isTextEqualToPattern() {
if (!super.getText().toString().equals(String.valueOf(defaultvalue))) return false;
} else return false;
super.setError(null);
super.clearFocus();
invalidate();
return true;
}
Expand Down

0 comments on commit c9dc779

Please sign in to comment.