Just a couple of Combine Publishers to go.

This commit is contained in:
John Holdsworth
2019-07-09 14:43:52 +01:00
parent b8281e5e21
commit f5f4d0b3d5
12 changed files with 33 additions and 24 deletions

View File

@@ -22,7 +22,7 @@ struct TaskItemView: View {
.tapAction(count: 1) {
self.delete()
}
NavigationButton(destination: TaskEditView(task: task).environmentObject(self.userData)) {
NavigationLink(destination: TaskEditView(task: task).environmentObject(self.userData)) {
Text(task.title)
}
} else {