Enable SwiftLint rule 'overridden_super_call' and fix all violations

This commit is contained in:
Danny Moesch 2020-07-06 10:04:41 +02:00 committed by Mingshen Sun
parent e1cb280d4a
commit 5270c92b76
4 changed files with 5 additions and 3 deletions

View file

@ -326,7 +326,8 @@ class PasswordsViewController: UIViewController, UITableViewDataSource, UITableV
tableView.refreshControl = passwordStore.repositoryExists() ? syncControl : nil
}
override func viewWillDisappear(_: Bool) {
override func viewWillDisappear(_ animated: Bool) {
super.viewWillDisappear(animated)
// Remove gesture recognizer from navigation bar when view is about to disappear
navigationController?.navigationBar.removeGestureRecognizer(tapNavigationBarGestureRecognizer)
}