clear entered pin
This commit is contained in:
parent
7de7fe9896
commit
d807b41efd
|
@ -63,6 +63,7 @@ extension CreateNewWalletCoordinator: PinVCDelegate {
|
|||
}
|
||||
|
||||
private func showConfirmationPinView(initialPin: String) {
|
||||
self.isInitialPin = false
|
||||
let vc = self.viewFactory.getPinView()
|
||||
vc.delegate = self
|
||||
vc.localizer = self.localizer
|
||||
|
|
|
@ -41,6 +41,7 @@ class PinVC: UIViewController {
|
|||
}
|
||||
|
||||
private func setup() {
|
||||
self.pinCode = ""
|
||||
self.pinDotView.totalDotCount = Constants.pinCodeLength
|
||||
self.pinDotView.inputDotCount = 0
|
||||
self.pinDotView.fillColor = .black
|
||||
|
@ -104,7 +105,10 @@ extension PinVC : UIKeyInput {
|
|||
return
|
||||
}
|
||||
|
||||
self.pinDotView.shakeAnimationWithCompletion {}
|
||||
self.pinDotView.shakeAnimationWithCompletion {
|
||||
self.pinCode = ""
|
||||
self.pinDotView.inputDotCount = 0
|
||||
}
|
||||
}
|
||||
|
||||
public func deleteBackward() {
|
||||
|
|
Loading…
Reference in New Issue