A few more run time fixes

This commit is contained in:
John Holdsworth
2019-07-09 00:30:47 +01:00
parent 17a2f3b196
commit a96bac0796
5 changed files with 10 additions and 5 deletions

View File

@@ -14,7 +14,8 @@ struct NoteList : View {
var body: some View {
NavigationView {
List(userData.notes) { note in
NavigationLink(destination: NoteDetail(note: note)) {
NavigationLink(destination: NoteDetail(note: note)
.environmentObject(self.userData)) {
NoteRow(note: note)
}
}