Manos Chorianopoulos

add campaign url logs

......@@ -103,6 +103,7 @@ extension GiftsViewController: UITableViewDelegate, UITableViewDataSource{
} else {
url = swiftApi().constructCampaignUrl(campaigns[indexPath.row])
}
print("CampaignUrl url onclick: " + url)
vc.campaignUrl = url
self.navigationController?.pushViewController(vc, animated: true)
......
......@@ -90,6 +90,7 @@ extension MFYViewController: UITableViewDelegate, UITableViewDataSource{
let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self))
let vc = storyboard.instantiateViewController(withIdentifier: "CampaignViewController") as! SwiftWarplyFramework.CampaignViewController
let url = swiftApi().constructCampaignUrl(campaigns[indexPath.row])
print("CampaignUrl url onclick: " + url)
vc.campaignUrl = url
self.navigationController?.pushViewController(vc, animated: true)
}
......