From f24b2d171a60e31e04de9f97f8aaec4251b25258 Mon Sep 17 00:00:00 2001 From: Bob Sun Date: Mon, 23 Jan 2017 17:54:26 +0800 Subject: [PATCH] error dismiss with 1 second delay --- pass/SettingsTableViewController.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/pass/SettingsTableViewController.swift b/pass/SettingsTableViewController.swift index f1340ac..86645e8 100644 --- a/pass/SettingsTableViewController.swift +++ b/pass/SettingsTableViewController.swift @@ -47,6 +47,7 @@ class SettingsTableViewController: UITableViewController { NotificationCenter.default.post(Notification(name: Notification.Name("passwordUpdated"))) } else { SVProgressHUD.showError(withStatus: "Error") + SVProgressHUD.dismiss(withDelay: 1) } } }