Todo editing
This commit is contained in:
@@ -9,6 +9,7 @@ import 'package:tasktracker/NewJournal.dart';
|
||||
import 'package:tasktracker/NewTodo.dart';
|
||||
import 'package:tasktracker/main.dart';
|
||||
import 'Data.dart';
|
||||
import 'DebugHelper.dart';
|
||||
import 'User.dart' as User;
|
||||
import 'Dialogs.dart';
|
||||
|
||||
@@ -366,9 +367,10 @@ class _TodosPageState extends State<TodosPage> {
|
||||
if (selecting)
|
||||
InkWell(
|
||||
onTap: () {
|
||||
// Navigator.of(context).push(MaterialPageRoute(builder: (context) => NewJournal(date: todo.day, title: todo.title, text: todo.description,))).then((val) {
|
||||
// setState(() {});
|
||||
// });
|
||||
Debug.Log('notification : ${todo.notificationTime}');
|
||||
Navigator.of(context).push(MaterialPageRoute(builder: (context) =>NewTodo(selectedTask: TaskType.getDisplayName(todo.task!), metadata: todo.metadata, dueDate: todo.dueDate, notificationTime: todo.notificationTime, old_id: todo.id,))).then((val) {
|
||||
setState(() {});
|
||||
});
|
||||
selecting = false;
|
||||
setState(() {});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user