Showing
1 changed file
with
4 additions
and
5 deletions
| ... | @@ -160,11 +160,10 @@ extension GiftsViewController: UITableViewDelegate, UITableViewDataSource{ | ... | @@ -160,11 +160,10 @@ extension GiftsViewController: UITableViewDelegate, UITableViewDataSource{ | 
| 160 | 160 | ||
| 161 | public func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) { | 161 | public func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) { | 
| 162 | if (campaigns[indexPath.row]._ccms != nil) { | 162 | if (campaigns[indexPath.row]._ccms != nil) { | 
| 163 | - // let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self)) | 163 | + let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self)) | 
| 164 | - // let vc = storyboard.instantiateViewController(withIdentifier: "ContextualViewController") as! SwiftWarplyFramework.ContextualViewController | 164 | + let vc = storyboard.instantiateViewController(withIdentifier: "ContextualViewController") as! SwiftWarplyFramework.ContextualViewController | 
| 165 | - // vc.ccms = campaigns[indexPath.row]._ccms | 165 | + vc.ccms = campaigns[indexPath.row]._ccms | 
| 166 | - // self.navigationController?.pushViewController(vc, animated: true) | 166 | + self.navigationController?.pushViewController(vc, animated: true) | 
| 167 | - swiftApi().handleContextualCampaigns(campaigns[indexPath.row]._ccms!, self) | ||
| 168 | 167 | ||
| 169 | } else if (campaigns[indexPath.row]._type != nil && campaigns[indexPath.row]._type == "telco") { | 168 | } else if (campaigns[indexPath.row]._type != nil && campaigns[indexPath.row]._type == "telco") { | 
| 170 | let ccmsCampaigns = swiftApi().getCCMSLoyaltyCampaigns() | 169 | let ccmsCampaigns = swiftApi().getCCMSLoyaltyCampaigns() | ... | ... | 
- 
Please register or login to post a comment