show last updated time

This commit is contained in:
Bob Sun 2017-02-06 19:13:33 +08:00
parent 0ae47c2b30
commit 7eee62fa01
No known key found for this signature in database
GPG key ID: 1F86BA2052FED3B4
3 changed files with 18 additions and 3 deletions

View file

@ -60,6 +60,8 @@ class SettingsTableViewController: UITableViewController {
Defaults[.gitRepositoryUsername] = username
Defaults[.gitRepositoryPassword] = password
Defaults[.gitRepositoryAuthenticationMethod] = auth
Defaults[.lastUpdatedTime] = Date()
NotificationCenter.default.post(Notification(name: Notification.Name("passwordUpdated")))