error dismiss with 1 second delay

This commit is contained in:
Bob Sun 2017-01-23 17:54:26 +08:00
parent 1964244427
commit f24b2d171a
No known key found for this signature in database
GPG key ID: 1F86BA2052FED3B4

View file

@ -47,6 +47,7 @@ class SettingsTableViewController: UITableViewController {
NotificationCenter.default.post(Notification(name: Notification.Name("passwordUpdated")))
} else {
SVProgressHUD.showError(withStatus: "Error")
SVProgressHUD.dismiss(withDelay: 1)
}
}
}