Fix an edit bug, forget to post notification
This commit is contained in:
parent
d6c7b67fcc
commit
adbb5e89bc
1 changed files with 1 additions and 0 deletions
|
|
@ -656,6 +656,7 @@ class PasswordStore {
|
||||||
try gitMv(from: oldPasswordURL!.path, to: password.url!.path)
|
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.")
|
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
|
return newPasswordEntity
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue