From 3ca2850a8b6269001cf5165efc8d8a80053b85c9 Mon Sep 17 00:00:00 2001 From: Bob Sun Date: Thu, 16 Feb 2017 11:52:36 +0800 Subject: [PATCH] alert user after fetching pgp keys --- pass/Controllers/SettingsTableViewController.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pass/Controllers/SettingsTableViewController.swift b/pass/Controllers/SettingsTableViewController.swift index 2e3d702..a2a5bf7 100644 --- a/pass/Controllers/SettingsTableViewController.swift +++ b/pass/Controllers/SettingsTableViewController.swift @@ -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 {