Enable SwiftLint rule 'private_action' and fix all violations

This commit is contained in:
Danny Moesch 2020-07-05 22:49:53 +02:00 committed by Mingshen Sun
parent 70d605e412
commit fe380d4d65
17 changed files with 23 additions and 23 deletions

View file

@ -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)