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

@ -77,7 +77,7 @@ class PasswordDetailTableViewController: UITableViewController, UIGestureRecogni
}
override func viewDidAppear(_ animated: Bool) {
super.viewWillAppear(animated)
super.viewDidAppear(animated)
if shouldPopCurrentView {
let alert = UIAlertController(title: "Notice".localize(), message: "PreviousChangesDiscarded.".localize(), preferredStyle: UIAlertController.Style.alert)
alert.addAction(UIAlertAction.okAndPopView(controller: self))