mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-28 23:32:41 +00:00
Fixes vector-im/element-ios/issues/5279 - Stop waiting for biometric unlock if disabled system wide
This commit is contained in:
parent
1e7bc1978b
commit
2b32804c3a
2 changed files with 5 additions and 0 deletions
|
@ -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 {
|
||||
|
|
1
changelog.d/5279.bugfix
Normal file
1
changelog.d/5279.bugfix
Normal file
|
@ -0,0 +1 @@
|
|||
Stop waiting for biometric unlock if disabled system wide
|
Loading…
Reference in a new issue