Adding lecturer to lecture plan item detail view

This commit is contained in:
2021-02-10 21:27:26 +01:00
committed by Patrick Müller
parent b689a7bbf1
commit ba0d4da657
4 changed files with 22 additions and 2 deletions
@@ -37,7 +37,7 @@ struct LecturePlanItem: View {
.bold()
Text(event.location!)
.bold()
Text("WIP")
Text(!event.lecturerList.isEmpty ? event.lecturerList[0].wrappedName : "")
.bold()
}.frame(maxWidth: .infinity, alignment: .leading)
}