Fix cannot removing PGP keys
This commit is contained in:
parent
e549db0714
commit
b2d93c8a70
4 changed files with 29 additions and 25 deletions
|
|
@ -343,7 +343,7 @@ class SettingsTableViewController: UITableViewController {
|
|||
|
||||
if Defaults[.pgpKeySource] != nil {
|
||||
let deleteAction = UIAlertAction(title: "Remove PGP Keys", style: .destructive) { _ in
|
||||
Utils.removePGPKeys()
|
||||
self.passwordStore.removePGPKeys()
|
||||
self.pgpKeyTableViewCell.detailTextLabel?.text = "Not Set"
|
||||
}
|
||||
optionMenu.addAction(deleteAction)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue