Skip to content

Commit

Permalink
Merge pull request #3 from hendrawd/master
Browse files Browse the repository at this point in the history
Fix method typo of PinCodeView.setLenght to PinCodeView.setLength
  • Loading branch information
antoxa2584x committed Aug 25, 2017
2 parents 986660d + 249f9a9 commit a3cace4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -59,7 +59,7 @@ PinCodeView pinCodeView = new PinCodeView(this)
.setOuterCircleColor(color)
.setErrorColor(color)
.setLockType(isChecked ? LOCK_TYPE.ENTER_PIN : LOCK_TYPE.UNLOCK)
.setPinLenght(lenght)
.setPinLength(length)
.setInnerAlpha(1)
.setTintInner(false)
.setTintOuter(false)
Expand Down
Expand Up @@ -56,8 +56,8 @@ private void initView() {
seekBar.setOnSeekBarChangeListener(new SeekBar.OnSeekBarChangeListener() {
@Override
public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {
pinCodeView.setPinLenght(progress);
drawablePinCodeView.setPinLenght(progress);
pinCodeView.setPinLength(progress);
drawablePinCodeView.setPinLength(progress);
}

@Override
Expand Down
Expand Up @@ -319,7 +319,7 @@ public PinCodeView setErrorColor(@ColorInt int errorColor) {
return this;
}

public PinCodeView setPinLenght(int pinCount) {
public PinCodeView setPinLength(int pinCount) {
this.pinCount = pinCount;
setUpPins();
return this;
Expand Down

0 comments on commit a3cace4

Please sign in to comment.