mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-18 23:48:29 +02:00
Add blocked pins build setting
This commit is contained in:
@@ -51,6 +51,11 @@ 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
|
||||
}
|
||||
|
||||
var isBiometricsAvailable: Bool {
|
||||
return LAContext().canEvaluatePolicy(.deviceOwnerAuthenticationWithBiometrics, error: nil)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user