Change variable name to notAllowedPINs

This commit is contained in:
ismailgulek
2020-09-17 15:55:41 +03:00
parent 5fbc107895
commit dbea2e56bc
3 changed files with 6 additions and 6 deletions

View File

@@ -114,7 +114,7 @@ final class EnterPinCodeViewModel: EnterPinCodeViewModelType {
// choosing pin
if firstPin.isEmpty {
// check if this PIN is allowed
if pinCodePreferences.blockedPINs.contains(currentPin) {
if pinCodePreferences.notAllowedPINs.contains(currentPin) {
viewMode = .blockedPin
update(viewState: .blockedPin)
return