Polish the logic about updating last synced time.
- Update the date right after corresponding operations, and before reloading any "table view".
This commit is contained in:
parent
66688b5f66
commit
0197444e30
6 changed files with 15 additions and 13 deletions
|
|
@ -24,7 +24,7 @@ extension DefaultsKeys {
|
|||
static let gitRepositorySSHPublicKeyURL = DefaultsKey<URL?>("gitRepositorySSHPublicKeyURL")
|
||||
static let gitRepositorySSHPrivateKeyURL = DefaultsKey<URL?>("gitRepositorySSHPrivateKeyURL")
|
||||
|
||||
static let lastUpdatedTime = DefaultsKey<Date?>("lasteUpdatedTime")
|
||||
static let lastSyncedTime = DefaultsKey<Date?>("lastSyncedTime")
|
||||
|
||||
static let isTouchIDOn = DefaultsKey<Bool>("isTouchIDOn")
|
||||
static let passcodeKey = DefaultsKey<String?>("passcodeKey")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue