Enable SwiftLint rule 'toggle_bool' and fix all violations
This commit is contained in:
parent
1b1bd46235
commit
937019d6e8
2 changed files with 2 additions and 2 deletions
|
|
@ -404,7 +404,7 @@ extension PasswordEditorTableViewController: FillPasswordTableViewCellDelegate {
|
|||
|
||||
// show/hide password settings (e.g., the length slider)
|
||||
func showHidePasswordSettings() {
|
||||
hidePasswordSettings = !hidePasswordSettings
|
||||
hidePasswordSettings.toggle()
|
||||
tableView.reloadSections([passwordSection], with: .fade)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue