Update version

This commit is contained in:
2026-01-16 11:28:26 +01:00
parent 7988257399
commit c6be398e5a
28 changed files with 1061 additions and 193 deletions
@@ -40,10 +40,15 @@ class GoalRepository: ObservableObject {
]
do {
self.goals = try self.context.fetch(request)
let fetched = try self.context.fetch(request)
DispatchQueue.main.async {
self.goals = fetched
}
} catch {
print("Failed to fetch goals: \(error)")
self.goals = []
DispatchQueue.main.async {
self.goals = []
}
}
}
}