Todo delete + Debug Logging to User

This commit is contained in:
Sewmina
2022-04-03 07:03:28 +05:30
parent 62ae8bad01
commit b7ce14a558
6 changed files with 559 additions and 377 deletions

View File

@@ -293,7 +293,7 @@ class _NewActivity extends State<NewTodo> {
return;
}
await User.UserOperations.addTodo(selectedCat, metadataController.text, dueDate, notificationTime);
await User.UserOperations.addTodo(selectedCat,((selectedStep!=null && selectedStep != 'None') ? '[$selectedStep]' : '')+ metadataController.text, dueDate, notificationTime);
Navigator.of(context).pop();
}