Enable SwiftLint rule 'multiline_arguments_brackets' and fix all violations
This commit is contained in:
parent
b4c25726a5
commit
c87f4e9792
18 changed files with 286 additions and 220 deletions
|
|
@ -30,9 +30,11 @@ class SSHKeyUrlImportTableViewController: AutoCellHeightUITableViewController {
|
|||
if privateKeyURL.scheme?.lowercased() == "http" {
|
||||
let savePassphraseAlert = UIAlertController(title: "HttpNotSecure".localize(), message: "ReallyUseHttp?".localize(), preferredStyle: .alert)
|
||||
savePassphraseAlert.addAction(UIAlertAction(title: "No".localize(), style: .default) { _ in })
|
||||
savePassphraseAlert.addAction(UIAlertAction(title: "Yes".localize(), style: .destructive) { _ in
|
||||
self.performSegue(withIdentifier: "importSSHKeySegue", sender: self)
|
||||
})
|
||||
savePassphraseAlert.addAction(
|
||||
UIAlertAction(title: "Yes".localize(), style: .destructive) { _ in
|
||||
self.performSegue(withIdentifier: "importSSHKeySegue", sender: self)
|
||||
}
|
||||
)
|
||||
return present(savePassphraseAlert, animated: true)
|
||||
}
|
||||
sshPrivateKeyURL = privateKeyURL
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue