feat:增加闪灵功能
This commit is contained in:
@@ -28,11 +28,6 @@ class TodoService {
|
||||
}
|
||||
}
|
||||
|
||||
Future<bool> updateTodoCompletion(Todo todo, bool isCompleted) async {
|
||||
todo.isCompleted = isCompleted;
|
||||
return await updateTodo(todo);
|
||||
}
|
||||
|
||||
Future<bool> deleteTodo(Todo todo) async {
|
||||
try {
|
||||
await todo.delete();
|
||||
|
||||
Reference in New Issue
Block a user