refetch PGP key when change password
This commit is contained in:
parent
552f53bd91
commit
27c12abdc4
1 changed files with 3 additions and 1 deletions
|
|
@ -75,7 +75,9 @@ class SettingsTableViewController: UITableViewController {
|
|||
}
|
||||
}
|
||||
} else if let controller = segue.source as? PGPKeySettingTableViewController {
|
||||
if Defaults[.pgpKeyURL] != URL(string: controller.pgpKeyURLTextField.text!) {
|
||||
if Defaults[.pgpKeyURL] != URL(string: controller.pgpKeyURLTextField.text!) ||
|
||||
Defaults[.pgpKeyPassphrase] != controller.pgpKeyPassphraseTextField.text!
|
||||
{
|
||||
Defaults[.pgpKeyURL] = URL(string: controller.pgpKeyURLTextField.text!)
|
||||
Defaults[.pgpKeyPassphrase] = controller.pgpKeyPassphraseTextField.text!
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue