Use correct key source

Without this protocol method, 'isCurrentKeySource' in KeyImporter was always called which is wrong for PGP keys.
This commit is contained in:
Danny Moesch 2020-03-29 22:40:39 +02:00 committed by Mingshen Sun
parent 15221ee348
commit da62c2544b

View file

@ -14,6 +14,8 @@ protocol KeyImporter {
static var label: String { get }
static var isCurrentKeySource: Bool { get }
static var menuLabel: String { get }
func isReadyToUse() -> Bool