Manos Chorianopoulos

fix UnifiedCouponBarcodeVC coupon press bug

......@@ -188,6 +188,7 @@ extension UnifiedCouponBarcodeViewController: UITableViewDelegate, UITableViewDa
// print("Coupon Description clicked: " + (couponSetData?.short_description ?? ""))
// print("Coupon Expiration clicked: " + (self.coupon?._coupons[indexPath.row].expiration ?? ""))
if (indexPath.section == 1) {
swiftApi().logTrackersEvent("click", ("Coupon:" + (self.coupon?._coupons[indexPath.row].name ?? "")))
let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self))
......@@ -196,6 +197,7 @@ extension UnifiedCouponBarcodeViewController: UITableViewDelegate, UITableViewDa
vc.isMarket = true
self.navigationController?.pushViewController(vc, animated: true)
}
}
public func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView? {
if (section == 0){
......