diff --git a/SmileLock/Classes/PasswordInputView.swift b/SmileLock/Classes/PasswordInputView.swift index 58d7ce3..4eda277 100644 --- a/SmileLock/Classes/PasswordInputView.swift +++ b/SmileLock/Classes/PasswordInputView.swift @@ -120,6 +120,10 @@ open class PasswordInputView: UIView { let borderWidth = radius * borderWidthRatio let circleRadius = radius - borderWidth + //added by @seiritu + if (numberString.isEmpty) { + numberString = "0" + } //update label label.text = numberString