Fix regression with deleting tasks

This commit is contained in:
hunteraraujo
2023-09-16 17:28:58 -07:00
parent f76d45cd9e
commit 25ce1d6be0
3 changed files with 8 additions and 4 deletions

View File

@@ -39,7 +39,7 @@ class TaskViewModel with ChangeNotifier {
_taskService.saveDeletedTask(taskId);
tasks.removeWhere((task) => task.id == taskId);
notifyListeners();
print("Tasks deleted successfully!");
print("Task $taskId deleted successfully!");
}
/// Fetches tasks from the data source.