Commit 8f88f0d8 authored by Eyad Hasan's avatar Eyad Hasan
Browse files

Making changes to code for the new data model

We're aboutta get hella type errors because I changed how some of the stuff is stored, so lots of new conversion code coming to a few pushes near you. Stay tuned for more.
parent ceb47a47
......@@ -28,8 +28,8 @@ class LocationDetailViewController: UIViewController, UITableViewDelegate, UITab
override func viewDidLoad() {
super.viewDidLoad()
NameLabel.text = facility.name
PlaceLabel.text = facility.location
NameLabel.text = facility.slug
PlaceLabel.text = facility.facilityLocation
let open = Utilities.isOpen(facility: facility)
if(open) {
OpenLabel.text = "OPEN"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment