mirror of
https://github.com/ivanvorobei/SwiftUI.git
synced 2026-04-22 08:38:36 +02:00
A few more run time fixes
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user