The file /Users/neog/Apps/iOS/PROD-Planner2026/Planner2026-iOS/Services/Data/DataManager.swift has been updated. Here's the result of running `cat -n` on a snippet of the edited file: 231→ scheduleDebouncedSave(for: "tasks") 232→ Task { await SyncManager.shared.deleteTask(task) } 233→ } 234→ 235→ func toggleTaskCompletion(_ task: PlannerTask) { 236→ if let index = tasks.firstIndex(where: { $0.id == task.id }) { 237→ tasks[index].status = tasks[index].status == .completed ? .pending : .completed 238→ tasks[index].completedAt = tasks[index].status == .completed ? Date() : nil 239→ tasks[index].modifiedAt = Date() 240→ 241→ if tasks[index].status == .completed { 242→ #if os(iOS) 243→ HapticManager.taskCompleted() 244→ #elseif os(macOS) 245→ FeedbackManager.taskCompleted() 246→ #endif 247→ } else { 248→ #if os(iOS) 249→ HapticManager.impact(.light) 250→ #elseif os(macOS) 251→ FeedbackManager.selection() 252→ #endif 253→ } 254→ 255→ scheduleDebouncedSave(for: "tasks") 256→ SyncManager.shared.syncTask(tasks[index]) 257→ } 258→ } 259→ 260→ func tasksForProject(_ projectId: UUID) -> [PlannerTask] { 261→ tasks.filter { $0.projectId == projectId } 262→ }