Polish code
This commit is contained in:
parent
f271d4870a
commit
cbbd7e08b6
1 changed files with 2 additions and 2 deletions
|
|
@ -260,7 +260,7 @@ class PasswordsViewController: UIViewController, UITableViewDataSource, UITableV
|
|||
}
|
||||
|
||||
func copyToPasteboard(from indexPath: IndexPath) {
|
||||
if Defaults[.pgpKeyID] == nil {
|
||||
guard Defaults[.pgpKeyID] != nil else {
|
||||
Utils.alert(title: "Cannot Copy Password", message: "PGP Key is not set. Please set your PGP Key first.", controller: self, completion: nil)
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue