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
|
|
@ -110,7 +110,7 @@ class GitRepositorySettingsTableViewController: UITableViewController {
|
|||
// MARK: - Segue Handlers
|
||||
|
||||
@IBAction
|
||||
func save(_: Any) {
|
||||
private func save(_: Any) {
|
||||
guard let gitURLTextFieldText = gitURLTextField.text, let gitURL = URL(string: gitURLTextFieldText.trimmed) else {
|
||||
Utils.alert(title: "CannotSave".localize(), message: "SetGitRepositoryUrl".localize(), controller: self)
|
||||
return
|
||||
|
|
@ -224,7 +224,7 @@ class GitRepositorySettingsTableViewController: UITableViewController {
|
|||
}
|
||||
|
||||
@IBAction
|
||||
func importSSHKey(segue: UIStoryboardSegue) {
|
||||
private func importSSHKey(segue: UIStoryboardSegue) {
|
||||
guard let sourceController = segue.source as? KeyImporter, sourceController.isReadyToUse() else {
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue