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
|
|
@ -32,18 +32,18 @@ class FillPasswordTableViewCell: UITableViewCell, ContentProvider {
|
|||
}
|
||||
|
||||
@IBAction
|
||||
func generatePassword(_: UIButton) {
|
||||
private func generatePassword(_: UIButton) {
|
||||
delegate?.generateAndCopyPassword()
|
||||
}
|
||||
|
||||
@IBAction
|
||||
func showHidePasswordSettings() {
|
||||
private func showHidePasswordSettings() {
|
||||
delegate?.showHidePasswordSettings()
|
||||
}
|
||||
|
||||
// re-color
|
||||
@IBAction
|
||||
func textFieldDidChange(_ sender: UITextField) {
|
||||
private func textFieldDidChange(_ sender: UITextField) {
|
||||
contentTextField.attributedText = Utils.attributedPassword(plainPassword: sender.text ?? "")
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue