fix: 마감일 없는 할일도 완료 여부와 상관없이 표시

- 마감일이 없는 할일은 특정 날짜에 속하지 않으므로 항상 표시
- 완료 체크 시 목록에서 사라지는 버그 수정
This commit is contained in:
kihong.kim
2026-02-01 01:39:39 +09:00
parent fdf2287c4b
commit a2b2e81703
2 changed files with 6 additions and 6 deletions

View File

@@ -39,8 +39,8 @@ class TodoService {
// Future date - only show if incomplete
return !todo.completed;
}
// No due date - only show if incomplete
return !todo.completed;
// No due date - always show (completed or not)
return true;
}).toList();
// Sort: incomplete first, then by due date