possibly fix the launch crash
add new package to track cloudkit issues
This commit is contained in:
@@ -17,7 +17,6 @@ struct FeelsApp: App {
|
||||
let persistenceController = PersistenceController.shared
|
||||
|
||||
init() {
|
||||
persistenceController.fillInMissingDates()
|
||||
BGTaskScheduler.shared.cancelAllTaskRequests()
|
||||
BGTaskScheduler.shared.register(forTaskWithIdentifier: BGTask.updateDBMissingID, using: nil) { (task) in
|
||||
BGTask.runFillInMissingDatesTask(task: task as! BGProcessingTask)
|
||||
@@ -38,6 +37,7 @@ struct FeelsApp: App {
|
||||
|
||||
if phase == .active {
|
||||
UIApplication.shared.applicationIconBadgeNumber = 0
|
||||
persistenceController.fillInMissingDates()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user