Fix build

This commit is contained in:
ismailgulek
2020-07-21 16:19:14 +03:00
parent 23c21f3c08
commit c80ed5a73b

View File

@@ -104,7 +104,7 @@ final class EnterPinCodeViewModel: EnterPinCodeViewModelType {
if firstPin == currentPin {
// complete with a little delay
DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) {
self.coordinatorDelegate?.enterPinCodeViewModel(self, didCompleteWithPin: firstPin)
self.coordinatorDelegate?.enterPinCodeViewModel(self, didCompleteWithPin: self.firstPin)
}
} else {
self.update(viewState: .pinsDontMatch)