Fix typo: Passwrod => Password

This commit is contained in:
Radon Rosborough 2017-03-06 12:49:00 -08:00 committed by Bob Sun
parent 0c9cd85fd9
commit af1ea3ee3e
4 changed files with 7 additions and 7 deletions

View file

@ -65,7 +65,7 @@ class SettingsTableViewController: UITableViewController {
Defaults[.pgpKeySource] = "armor"
PasswordStore.shared.pgpKeyPassphrase = controller.pgpPassphrase
if Defaults[.isRememberPassphraseOn] {
Utils.addPasswrodToKeychain(name: "pgpKeyPassphrase", password: controller.pgpPassphrase!)
Utils.addPasswordToKeychain(name: "pgpKeyPassphrase", password: controller.pgpPassphrase!)
}
Defaults[.pgpPublicKeyArmor] = controller.armorPublicKeyTextView.text!
@ -326,7 +326,7 @@ class SettingsTableViewController: UITableViewController {
title: "OK",
style: UIAlertActionStyle.default,
handler: {_ in
Utils.addPasswrodToKeychain(
Utils.addPasswordToKeychain(
name: "pgpKeyPassphrase",
password: alert.textFields!.first!.text!
)