Dimitris Togias

check API and assignment of data

...@@ -40,7 +40,7 @@ class MapsViewController: UIViewController, MKMapViewDelegate { ...@@ -40,7 +40,7 @@ class MapsViewController: UIViewController, MKMapViewDelegate {
40 self.infoTopConstraint.constant = 0 40 self.infoTopConstraint.constant = 0
41 41
42 setBackButton("ic_close") 42 setBackButton("ic_close")
43 - //setNavigationTitle(ccms?._titleOffer ?? "") 43 + setNavigationTitle("Καταστήματα")
44 44
45 mapView.delegate = self 45 mapView.delegate = self
46 mapView.centerToLocation(initialLocation) 46 mapView.centerToLocation(initialLocation)
...@@ -144,12 +144,12 @@ class MapsViewController: UIViewController, MKMapViewDelegate { ...@@ -144,12 +144,12 @@ class MapsViewController: UIViewController, MKMapViewDelegate {
144 private func loadPinDetailsView(_ annotation: MerchantAnnotation) { 144 private func loadPinDetailsView(_ annotation: MerchantAnnotation) {
145 self.selectedMerchant = annotation.model 145 self.selectedMerchant = annotation.model
146 146
147 - self.titleView.text = "INTERSPORT" 147 + self.titleView.text = self.selectedMerchant?._admin_name
148 self.nameImageView.image = UIImage(named: "intersport") 148 self.nameImageView.image = UIImage(named: "intersport")
149 - self.nameView.text = "Intersport Χαλάνδρι" 149 + self.nameView.text = self.selectedMerchant?._name
150 self.hoursView.text = "Δευτέρα - Τετάρτη" 150 self.hoursView.text = "Δευτέρα - Τετάρτη"
151 - self.phoneView.text = "210-6230453" 151 + self.phoneView.text = self.selectedMerchant?._telephone
152 - self.addressView.text = "ΕΘΝΙΚΗΣ ΑΝΤΙΣΤΑΣΕΩΝ 4 41" 152 + self.addressView.text = self.selectedMerchant?._address
153 } 153 }
154 154
155 private func showPinDetailsView() { 155 private func showPinDetailsView() {
......