diff --git a/pass/Controllers/PasswordDetailTableViewController.swift b/pass/Controllers/PasswordDetailTableViewController.swift index cd1e4d4..e39b5c6 100644 --- a/pass/Controllers/PasswordDetailTableViewController.swift +++ b/pass/Controllers/PasswordDetailTableViewController.swift @@ -576,7 +576,7 @@ extension PasswordDetailTableViewController { handleError(error: AppError.other(message: "PasswordDoesNotExist")) return } - Pass.yubiKeyDecrypt(passwordEntity: passwordEntity, requestPIN: requestYubiKeyPIN, errorHandler: handleError, cancellation: handleCancellation) { password in + yubiKeyDecrypt(passwordEntity: passwordEntity, requestPIN: requestYubiKeyPIN, errorHandler: handleError, cancellation: handleCancellation) { password in self.password = password self.showPassword() } diff --git a/pass/Helpers/Objective-CBridgingHeader.h b/pass/Helpers/Objective-CBridgingHeader.h index 3a71b73..5a7c3e4 100644 --- a/pass/Helpers/Objective-CBridgingHeader.h +++ b/pass/Helpers/Objective-CBridgingHeader.h @@ -10,6 +10,6 @@ #define Objective_CBridgingHeader_h @import ObjectiveGit; -#import +#import "YubiKit.h" #endif /* Objective_CBridgingHeader_h */