Skip to content

Commit

Permalink
feat(core): resolve pr issues
Browse files Browse the repository at this point in the history
  • Loading branch information
iPel committed Jul 26, 2022
1 parent eacdda3 commit 16fc622
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ public void setNumberOfLines(int numberOfLines) {

@HippyControllerProps(name = NodeProps.ELLIPSIZE_MODE, defaultType = HippyControllerProps.STRING, defaultString = MODE_TAIL)
public void setEllipsizeMode(String mode) {
if (mode == null || "".equals(mode)) {
if (TextUtils.isEmpty(mode)) {
mode = MODE_TAIL;
}
if (!mEllipsizeMode.equals(mode)) {
Expand Down

0 comments on commit 16fc622

Please sign in to comment.