change delay time

This commit is contained in:
Bob Sun 2017-02-09 11:17:36 +08:00
parent fca0b50990
commit 8af39e61ee
No known key found for this signature in database
GPG key ID: 1F86BA2052FED3B4
2 changed files with 3 additions and 3 deletions

View file

@ -48,7 +48,7 @@ class PasswordsViewController: UIViewController, UITableViewDataSource, UITableV
} catch { } catch {
DispatchQueue.main.async { DispatchQueue.main.async {
SVProgressHUD.showError(withStatus: error.localizedDescription) SVProgressHUD.showError(withStatus: error.localizedDescription)
SVProgressHUD.dismiss(withDelay: 3) SVProgressHUD.dismiss(withDelay: 1)
} }
} }
} }

View file

@ -68,7 +68,7 @@ class SettingsTableViewController: UITableViewController {
DispatchQueue.main.async { DispatchQueue.main.async {
print(error) print(error)
SVProgressHUD.showError(withStatus: error.localizedDescription) SVProgressHUD.showError(withStatus: error.localizedDescription)
SVProgressHUD.dismiss(withDelay: 3) SVProgressHUD.dismiss(withDelay: 1)
} }
} }
@ -100,7 +100,7 @@ class SettingsTableViewController: UITableViewController {
} catch { } catch {
DispatchQueue.main.async { DispatchQueue.main.async {
SVProgressHUD.showError(withStatus: error.localizedDescription) SVProgressHUD.showError(withStatus: error.localizedDescription)
SVProgressHUD.dismiss(withDelay: 3) SVProgressHUD.dismiss(withDelay: 1)
} }
} }
} }