diff --git a/Xcodes/Backend/AppState.swift b/Xcodes/Backend/AppState.swift index a99b6e7..6ea6bc5 100644 --- a/Xcodes/Backend/AppState.swift +++ b/Xcodes/Backend/AppState.swift @@ -410,6 +410,10 @@ class AppState: ObservableObject { } } + func fido2DeviceIsPresent() -> Bool { + fido2.hasDeviceAttached() + } + func fido2DeviceNeedsPin() -> Bool { do { return try fido2.deviceHasPin()