Skip to content

Commit b0a1761

Browse files
committed
Fix isTouchIDAllowed logic which wasn't checking developer option in PasscodeLockConfigurationType
1 parent d4a528a commit b0a1761

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

PasscodeLock/PasscodeLock/PasscodeLock.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public class PasscodeLock: PasscodeLockType {
2323
}
2424

2525
public var isTouchIDAllowed: Bool {
26-
return isTouchIDEnabled() && lockState.isTouchIDAllowed
26+
return isTouchIDEnabled() && configuration.isTouchIDAllowed && lockState.isTouchIDAllowed
2727
}
2828

2929
private var lockState: PasscodeLockStateType

0 commit comments

Comments
 (0)