From da62c2544b31d1d19371e64129eefbc474cd2f74 Mon Sep 17 00:00:00 2001 From: Danny Moesch Date: Sun, 29 Mar 2020 22:40:39 +0200 Subject: [PATCH] Use correct key source Without this protocol method, 'isCurrentKeySource' in KeyImporter was always called which is wrong for PGP keys. --- pass/Controllers/KeyImporter.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pass/Controllers/KeyImporter.swift b/pass/Controllers/KeyImporter.swift index a2e5074..61a9623 100644 --- a/pass/Controllers/KeyImporter.swift +++ b/pass/Controllers/KeyImporter.swift @@ -14,6 +14,8 @@ protocol KeyImporter { static var label: String { get } + static var isCurrentKeySource: Bool { get } + static var menuLabel: String { get } func isReadyToUse() -> Bool