Fix an edit bug, forget to post notification

This commit is contained in:
Bob Sun 2017-04-25 20:58:48 -07:00
parent d6c7b67fcc
commit adbb5e89bc
No known key found for this signature in database
GPG key ID: 1F86BA2052FED3B4

View file

@ -656,6 +656,7 @@ class PasswordStore {
try gitMv(from: oldPasswordURL!.path, to: password.url!.path)
let _ = try gitCommit(message: "Rename \(oldPasswordURL!.deletingPathExtension().path) to \(password.url!.deletingPathExtension().path) using Pass for iOS.")
}
NotificationCenter.default.post(name: .passwordStoreUpdated, object: nil)
return newPasswordEntity
}