Enable SwiftLint rule 'private_action' and fix all violations
This commit is contained in:
parent
70d605e412
commit
fe380d4d65
17 changed files with 23 additions and 23 deletions
|
|
@ -20,7 +20,7 @@ class SSHKeyUrlImportTableViewController: AutoCellHeightUITableViewController {
|
|||
}
|
||||
|
||||
@IBAction
|
||||
func doneButtonTapped(_: UIButton) {
|
||||
private func doneButtonTapped(_: UIButton) {
|
||||
guard let text = privateKeyURLTextField.text,
|
||||
let privateKeyURL = URL(string: text) else {
|
||||
Utils.alert(title: "CannotSave".localize(), message: "SetPrivateKeyUrl.".localize(), controller: self)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue