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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user