mirror of
https://github.com/mssun/passforios.git
synced 2025-12-20 09:13:44 +01:00
Add ability to import SSH keys from the Files app
This commit is contained in:
committed by
Mingshen Sun
parent
94a5f8c501
commit
d33e63cd83
@@ -247,6 +247,9 @@ class GitRepositorySettingsTableViewController: UITableViewController {
|
||||
optionMenu.addAction(UIAlertAction(title: SSHKeyArmorImportTableViewController.menuLabel, style: .default) { _ in
|
||||
self.performSegue(withIdentifier: "setGitSSHKeyByArmorSegue", sender: self)
|
||||
})
|
||||
optionMenu.addAction(UIAlertAction(title: SSHKeyFileImportTableViewController.menuLabel, style: .default) { _ in
|
||||
self.performSegue(withIdentifier: "setGitSSHKeyByFileSegue", sender: self)
|
||||
})
|
||||
|
||||
if isReadyToUse() {
|
||||
optionMenu.addAction(UIAlertAction(title: "\(Self.menuLabel) (\("Import".localize()))", style: .default) { _ in
|
||||
|
||||
Reference in New Issue
Block a user