mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 17:12:45 +02:00
Change variable name to notAllowedPINs
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -51,9 +51,9 @@ final class PinCodePreferences: NSObject {
|
||||
return BuildSettings.forcePinProtection
|
||||
}
|
||||
|
||||
/// Blocked pin codes. User won't be able to select one of the pin in the list.
|
||||
var blockedPINs: [String] {
|
||||
return BuildSettings.blockedPINs
|
||||
/// Not allowed pin codes. User won't be able to select one of the pin in the list.
|
||||
var notAllowedPINs: [String] {
|
||||
return BuildSettings.notAllowedPINs
|
||||
}
|
||||
|
||||
var isBiometricsAvailable: Bool {
|
||||
|
||||
Reference in New Issue
Block a user