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:
2026-02-11 17:49:19 +01:00
parent 85bd3f6a38
commit 61adf5387f
2 changed files with 7 additions and 7 deletions
+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