Skip to content

Commit

Permalink
label update
Browse files Browse the repository at this point in the history
  • Loading branch information
fmerzadyan committed Mar 14, 2017
1 parent cedbcd6 commit dcf9b1c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ public void setClickable(boolean clickable) {
private void refreshMaxLines()
{
TextView tv = (TextView) getNativeView();
if (tv != null && maxLines != -1) {
if (tv != null && maxLines > 0) {
tv.setMaxLines(maxLines);
}
}
Expand Down

0 comments on commit dcf9b1c

Please sign in to comment.