diff --git a/pass/PasswordsViewController.swift b/pass/PasswordsViewController.swift index 7e06005..4efe328 100644 --- a/pass/PasswordsViewController.swift +++ b/pass/PasswordsViewController.swift @@ -41,12 +41,11 @@ class PasswordsViewController: UIViewController, UITableViewDataSource, UITableV } }) DispatchQueue.main.async { + self.passwordEntities = PasswordStore.shared.fetchPasswordEntityCoreData() + self.reloadTableView(data: self.passwordEntities!) SVProgressHUD.showSuccess(withStatus: "Done") SVProgressHUD.dismiss(withDelay: 1) } - print("pull success") - self.passwordEntities = PasswordStore.shared.fetchPasswordEntityCoreData() - self.reloadTableView(data: self.passwordEntities!) } catch { DispatchQueue.main.async { SVProgressHUD.showError(withStatus: error.localizedDescription)