fix error when importing key using http (#556)

http url was not saved so it always failed
This commit is contained in:
Tony Wang 2022-05-23 13:23:25 +08:00 committed by GitHub
parent a0a08073bc
commit e5d3b06896
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,6 +32,7 @@ class SSHKeyURLImportTableViewController: AutoCellHeightUITableViewController {
savePassphraseAlert.addAction(UIAlertAction(title: "No".localize(), style: .default) { _ in })
savePassphraseAlert.addAction(
UIAlertAction(title: "Yes".localize(), style: .destructive) { _ in
self.sshPrivateKeyURL = privateKeyURL
self.performSegue(withIdentifier: "importSSHKeySegue", sender: self)
}
)