mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 16:42:44 +02:00
Fixes vector-im/element-ios/issues/5279 - Stop waiting for biometric unlock if disabled system wide
This commit is contained in:
committed by
Stefan Ceriu
parent
5eef42059a
commit
b224d907ce
@@ -127,6 +127,10 @@ final class PinCodePreferences: NSObject {
|
||||
|
||||
var canUseBiometricsToUnlock: Bool? {
|
||||
get {
|
||||
guard isBiometricsAvailable == true else {
|
||||
return false
|
||||
}
|
||||
|
||||
do {
|
||||
return try store.bool(forKey: StoreKeys.canUseBiometricsToUnlock)
|
||||
} catch let error {
|
||||
|
||||
Reference in New Issue
Block a user