1 Commits

Author SHA1 Message Date
442403b5b9 DO save empty todo 2025-04-21 23:38:06 +02:00

View File

@@ -57,8 +57,5 @@ Future<Todo?> getLatestTodo() async {
}
Future<void> createTodo(String content) async {
if (content.isEmpty) {
return;
}
await DB.db.insert('todos', {'content': content});
}