Correctly propagate checked status

This commit is contained in:
2025-12-02 21:28:42 -05:00
parent 323ebee99e
commit 5388ef6513

View File

@@ -65,7 +65,7 @@ class Codupoc(App[None]):
def load_todos_into_widgets(self) -> list[TodoItem]:
widgets = []
for t in self.todos.values():
nt = TodoItem(self, t, t.item, id=t.lid)
nt = TodoItem(self, t, t.item, id=t.lid, value=t.checked)
widgets.append(nt)
return widgets