Make sure metadata gets saved if background fetch is performed.

This commit is contained in:
Maurice Parker
2019-10-02 15:32:34 -05:00
parent af3e5e729c
commit 281416eaee
7 changed files with 15 additions and 8 deletions

View File

@@ -298,6 +298,9 @@ private extension AppDelegate {
os_log("Account refresh operation completed.", log: self.log, type: .info)
task.setTaskCompleted(success: true)
}
AccountManager.shared.saveAll()
}
// set expiration handler