Just open the key files to read them instead of importing them into the apps tmp
This commit is contained in:
parent
ea27c73b99
commit
f31a4df943
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ class PGPKeyFileSettingTableViewController: AutoCellHeightUITableViewController
|
|||
|
||||
override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
|
||||
let cell = tableView.cellForRow(at: indexPath)
|
||||
let picker = UIDocumentPickerViewController(documentTypes: ["public.data"], in: .import)
|
||||
let picker = UIDocumentPickerViewController(documentTypes: ["public.data"], in: .open)
|
||||
if cell == pgpPublicKeyFile {
|
||||
currentlyPicking = .public
|
||||
} else if cell == pgpPrivateKeyFile {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue