Manos Chorianopoulos

fix couponset success popup action

......@@ -362,7 +362,11 @@ import SwiftEventBus
switch action.style{
case .default:
self.navigationController?.popViewController(animated: true)
SwiftEventBus.post("open_my_rewards")
// SwiftEventBus.post("open_my_rewards")
let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: SwiftWarplyFramework.CouponsViewController.self))
if let vc = storyboard.instantiateViewController(withIdentifier: "CouponsViewController") as? SwiftWarplyFramework.CouponsViewController{
self.navigationController?.pushViewController(vc,animated: true)
}
case .cancel:
print("cancel")
......