Rewrite PasswordViewController

This commit is contained in:
Mingshen Sun 2021-01-17 19:49:05 -08:00
parent 372e897350
commit 68077bf04c
No known key found for this signature in database
GPG key ID: 1F86BA2052FED3B4
10 changed files with 676 additions and 729 deletions

View file

@ -35,6 +35,11 @@ class AddPasswordTableViewController: PasswordEditorTableViewController {
return true
}
@IBAction
private func cancel(_ sender: Any) {
navigationController?.popViewController(animated: true)
}
override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
super.prepare(for: segue, sender: sender)
if segue.identifier == "saveAddPasswordSegue" {