Move codes from utils to password and passwordstore

This commit is contained in:
Yishi Lin 2018-09-23 22:00:06 +08:00
parent 429ac1c915
commit 1ab70cf6d7
6 changed files with 41 additions and 40 deletions

View file

@ -540,7 +540,7 @@ class PasswordsViewController: UIViewController, UITableViewDataSource, UITableV
self.tableView.layer.removeAnimation(forKey: "UITableViewReloadDataAnimationKey")
// set the sync control title
let atribbutedTitle = "Last Synced: \(Utils.getLastSyncedTimeString())"
let atribbutedTitle = "Last Synced: \(passwordStore.getLastSyncedTimeString())"
syncControl.attributedTitle = NSAttributedString(string: atribbutedTitle)
}