Updated the "delete(_: at: from: )" function of the TaskListViewModel view model in the app target to use the Repository protocol instead.

This commit is contained in:
javier committed 2026-02-11 17:49:19 +01:00
1 parent 85bd3f6a38
commit 61adf5387f
2 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -45,7 +45,7 @@ struct TaskListView: View {
group: viewModel.group,
showCompleted: viewModel.showCompleted
) { tasks, offsets in
viewModel.deleteTasks(
viewModel.delete(
tasks,
at: offsets,
from: modelContext