Mark field 'gpgAgent' as never-nil
This commit is contained in:
parent
2ece3ef07a
commit
ea37b40e2f
10 changed files with 37 additions and 43 deletions
|
|
@ -221,7 +221,7 @@ class GeneralSettingsTableViewController: BasicStaticTableViewController {
|
|||
@objc func rememberPGPPassphraseSwitchAction(_ sender: Any?) {
|
||||
SharedDefaults[.isRememberPGPPassphraseOn] = rememberPGPPassphraseSwitch.isOn
|
||||
if rememberPGPPassphraseSwitch.isOn == false {
|
||||
passwordStore.pgpAgent?.passphrase = nil
|
||||
passwordStore.pgpAgent.passphrase = nil
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue