Manos Chorianopoulos

UnifiedCouponBarcodeViewController incomplete

...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
7 <key>Pods-SwiftWarplyFramework.xcscheme_^#shared#^_</key> 7 <key>Pods-SwiftWarplyFramework.xcscheme_^#shared#^_</key>
8 <dict> 8 <dict>
9 <key>orderHint</key> 9 <key>orderHint</key>
10 - <integer>1</integer> 10 + <integer>0</integer>
11 </dict> 11 </dict>
12 </dict> 12 </dict>
13 </dict> 13 </dict>
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
7 <key>SwiftWarplyFramework.xcscheme_^#shared#^_</key> 7 <key>SwiftWarplyFramework.xcscheme_^#shared#^_</key>
8 <dict> 8 <dict>
9 <key>orderHint</key> 9 <key>orderHint</key>
10 - <integer>0</integer> 10 + <integer>1</integer>
11 </dict> 11 </dict>
12 </dict> 12 </dict>
13 </dict> 13 </dict>
......
...@@ -845,16 +845,16 @@ extension WalletViewController: UITableViewDelegate, UITableViewDataSource{ ...@@ -845,16 +845,16 @@ extension WalletViewController: UITableViewDelegate, UITableViewDataSource{
845 // Do nothing 845 // Do nothing
846 846
847 } else if (indexPath.section == 1) { 847 } else if (indexPath.section == 1) {
848 - // TODO: open unified CouponBarcodeViewController 848 + // TODO: Add trackers
849 // let couponSetData: swiftApi.CouponSetItemModel? = coupons[indexPath.row].couponset_data 849 // let couponSetData: swiftApi.CouponSetItemModel? = coupons[indexPath.row].couponset_data
850 // let couponName = couponSetData?.name ?? "" 850 // let couponName = couponSetData?.name ?? ""
851 // swiftApi().logTrackersEvent("click", ("Coupon:" + couponName)) 851 // swiftApi().logTrackersEvent("click", ("Coupon:" + couponName))
852 -// 852 +
853 -// let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self)) 853 + let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self))
854 -// let vc = storyboard.instantiateViewController(withIdentifier: "CouponBarcodeViewController") as! SwiftWarplyFramework.CouponBarcodeViewController 854 + let vc = storyboard.instantiateViewController(withIdentifier: "UnifiedCouponBarcodeViewController") as! SwiftWarplyFramework.UnifiedCouponBarcodeViewController
855 -// vc.coupon = coupons[indexPath.row] 855 + vc.coupon = unifiedCoupons[indexPath.row]
856 -// vc.isFromWallet = true 856 + vc.isFromWallet = true
857 -// self.navigationController?.pushViewController(vc, animated: true) 857 + self.navigationController?.pushViewController(vc, animated: true)
858 858
859 } else if (indexPath.section == 2) { 859 } else if (indexPath.section == 2) {
860 print("Active DFY coupon banner Tapped!") 860 print("Active DFY coupon banner Tapped!")
......