passforios/pass/Controllers/PGPKeyImporter.swift
Danny Mösch 1bdf9d684b Rely on SPM plugins to consume SwiftLint and SwiftFormat
Use their latest releases and fix some violations and issues.

# Conflicts:
#	.github/workflows/linting.yml
#	.github/workflows/testing.yml
2024-11-29 00:18:30 +01:00

21 lines
369 B
Swift

//
// PGPKeyImporter.swift
// pass
//
// Created by Danny Moesch on 07.02.20.
// Copyright © 2020 Bob Sun. All rights reserved.
//
import passKit
protocol PGPKeyImporter: KeyImporter {
func doAfterImport()
}
extension PGPKeyImporter {
static var isCurrentKeySource: Bool {
Defaults.pgpKeySource == keySource
}
func doAfterImport() {}
}