delete sync button in the navigation bar

This commit is contained in:
Bob Sun 2017-02-06 17:32:30 +08:00
parent 8860c8570d
commit 0ae47c2b30
No known key found for this signature in database
GPG key ID: 1F86BA2052FED3B4
2 changed files with 0 additions and 9 deletions

View file

@ -55,11 +55,6 @@
</view>
<navigationItem key="navigationItem" title="Password Store" id="Cio-ZG-zCS">
<barButtonItem key="backBarButtonItem" title="Back" id="New-sD-9Z1"/>
<barButtonItem key="rightBarButtonItem" systemItem="refresh" id="sHf-RI-Fgc">
<connections>
<action selector="refreshPasswords:" destination="cwm-DY-Eli" id="3AY-0O-aXH"/>
</connections>
</barButtonItem>
</navigationItem>
<connections>
<outlet property="tableView" destination="Tn1-q5-vaJ" id="UHc-AS-gXh"/>

View file

@ -27,10 +27,6 @@ class PasswordsViewController: UIViewController, UITableViewDataSource, UITableV
@IBOutlet weak var tableView: UITableView!
@IBAction func refreshPasswords(_ sender: UIBarButtonItem) {
syncPasswords()
}
func syncPasswords() {
SVProgressHUD.show(withStatus: "Sync Password Store")
DispatchQueue.global(qos: .userInitiated).async { [unowned self] in