Showing
1 changed file
with
2 additions
and
0 deletions
... | @@ -188,6 +188,7 @@ extension UnifiedCouponBarcodeViewController: UITableViewDelegate, UITableViewDa | ... | @@ -188,6 +188,7 @@ extension UnifiedCouponBarcodeViewController: UITableViewDelegate, UITableViewDa |
188 | // print("Coupon Description clicked: " + (couponSetData?.short_description ?? "")) | 188 | // print("Coupon Description clicked: " + (couponSetData?.short_description ?? "")) |
189 | // print("Coupon Expiration clicked: " + (self.coupon?._coupons[indexPath.row].expiration ?? "")) | 189 | // print("Coupon Expiration clicked: " + (self.coupon?._coupons[indexPath.row].expiration ?? "")) |
190 | 190 | ||
191 | + if (indexPath.section == 1) { | ||
191 | swiftApi().logTrackersEvent("click", ("Coupon:" + (self.coupon?._coupons[indexPath.row].name ?? ""))) | 192 | swiftApi().logTrackersEvent("click", ("Coupon:" + (self.coupon?._coupons[indexPath.row].name ?? ""))) |
192 | 193 | ||
193 | let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self)) | 194 | let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self)) |
... | @@ -196,6 +197,7 @@ extension UnifiedCouponBarcodeViewController: UITableViewDelegate, UITableViewDa | ... | @@ -196,6 +197,7 @@ extension UnifiedCouponBarcodeViewController: UITableViewDelegate, UITableViewDa |
196 | vc.isMarket = true | 197 | vc.isMarket = true |
197 | self.navigationController?.pushViewController(vc, animated: true) | 198 | self.navigationController?.pushViewController(vc, animated: true) |
198 | } | 199 | } |
200 | + } | ||
199 | 201 | ||
200 | public func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView? { | 202 | public func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView? { |
201 | if (section == 0){ | 203 | if (section == 0){ | ... | ... |
-
Please register or login to post a comment