alert user after fetching pgp keys

This commit is contained in:
Bob Sun 2017-02-16 11:52:36 +08:00
parent edfd8c97a7
commit 3ca2850a8b
No known key found for this signature in database
GPG key ID: 1F86BA2052FED3B4

View file

@ -46,8 +46,9 @@ class SettingsTableViewController: UITableViewController {
pgpPrivateKeyLocalPath: Globals.pgpPrivateKeyPath)
DispatchQueue.main.async {
self.pgpKeyTableViewCell.detailTextLabel?.text = Defaults[.pgpKeyID]
SVProgressHUD.showSuccess(withStatus: "Success. Remember to remove the key from the server.")
SVProgressHUD.showSuccess(withStatus: "Success.")
SVProgressHUD.dismiss(withDelay: 1)
Utils.alert(title: "Remove the Key", message: "Remember to remove the key from the server.", controller: self, completion: nil)
}
} catch {
DispatchQueue.main.async {