Change view state name

This commit is contained in:
ismailgulek
2020-09-17 15:58:25 +03:00
parent ead4ba4092
commit 4421eb579e
3 changed files with 5 additions and 5 deletions
@@ -116,7 +116,7 @@ final class EnterPinCodeViewModel: EnterPinCodeViewModelType {
// check if this PIN is allowed
if pinCodePreferences.notAllowedPINs.contains(currentPin) {
viewMode = .notAllowedPin
update(viewState: .blockedPin)
update(viewState: .notAllowedPin)
return
}
// go to next screen