MESSENGER-3352 build settings

This commit is contained in:
Arnfried Griesert
2022-10-27 09:06:24 +00:00
parent e2a2eb4c61
commit 86aa5365bb
103 changed files with 1013 additions and 1360 deletions
@@ -95,12 +95,12 @@ final class PinCodePreferences: NSObject {
/// Setting to force protection by pin code
var forcePinProtection: Bool {
return BwiBuildSettings.forcedPinProtection
return BWIBuildSettings.shared.forcePinProtection
}
/// Not allowed pin codes. User won't be able to select one of the pin in the list.
var notAllowedPINs: [String] {
return BuildSettings.notAllowedPINs
return BWIBuildSettings.shared.notAllowedPINs
}
/// Maximum number of allowed pin failures when unlocking, before force logging out the user
@@ -136,7 +136,7 @@ final class PinCodePreferences: NSObject {
/// Max allowed time to continue using the app without prompting PIN
var graceTimeInSeconds: TimeInterval {
return BuildSettings.pinCodeGraceTimeInSeconds
return BWIBuildSettings.shared.pinCodeGraceTimeInSeconds
}
/// Number of digits for the PIN