Fix YubiKey feature detection logics

This commit is contained in:
Mingshen Sun 2023-03-17 22:20:50 -07:00
parent 0d1f06b16c
commit 3054e8e6f4
4 changed files with 3 additions and 6 deletions

View file

@ -18,7 +18,7 @@ public class YubiKeyConnection: NSObject {
override init() {
super.init()
if YubiKitDeviceCapabilities.supportsMFIAccessoryKey {
if YubiKitDeviceCapabilities.supportsISO7816NFCTags {
YubiKitManager.shared.delegate = self
YubiKitManager.shared.startAccessoryConnection()
}