Remove redundant 'else' blocks
This commit is contained in:
parent
ad4ed9419e
commit
1454693308
9 changed files with 22 additions and 57 deletions
|
|
@ -228,9 +228,8 @@ class PasswordEditorTableViewController: UITableViewController {
|
|||
if section == passwordSection, hidePasswordSettings {
|
||||
// hide the password section, only the password should be shown
|
||||
return 1
|
||||
} else {
|
||||
return tableData[section].count
|
||||
}
|
||||
return tableData[section].count
|
||||
}
|
||||
|
||||
override func tableView(_: UITableView, titleForHeaderInSection section: Int) -> String? {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue