Keyboard dismissal fixes (#12)

This PR contains the work done to fix the behavior of the keyboard dismissal for the *New task* and *Task list* views.

Reviewed-on: rock-n-code/todos-app#12
Co-authored-by: Javier Cicchelli <javier@rock-n-code.com>
Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
This commit was merged in pull request #12.
This commit is contained in:
2026-02-12 10:48:11 +00:00
committed by javier
parent 7867bcda36
commit 4ad12d4567
7 changed files with 150 additions and 82 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ struct TaskListView: View {
/// - Note: The group determines which tasks are fetched, whether
/// completion filtering is available, and whether drag and drop reordering is enabled.
init(group: TodoGroup) {
_viewModel = .init(initialValue: ViewModel(group: group))
_viewModel = .init(initialValue: .init(group: group))
}
// MARK: Body