Skip to content

Commit

Permalink
fixed an issue where the delegate for failed with incorrect pin was c…
Browse files Browse the repository at this point in the history
…alled immediately, rather than the new completion block
  • Loading branch information
gligorkot committed May 16, 2019
1 parent bf3ee31 commit 5ed8d2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/PinView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,8 @@ public final class PinView: UIView {
} else {
self.shakeBubbles() { _ in
self.resetPinViewState()
delegate.pinViewDidFailWithIncorrectPin(pinView: self)
}
delegate.pinViewDidFailWithIncorrectPin(pinView: self)
}
}
})
Expand Down

0 comments on commit 5ed8d2a

Please sign in to comment.