Showing
1 changed file
with
5 additions
and
1 deletions
... | @@ -362,7 +362,11 @@ import SwiftEventBus | ... | @@ -362,7 +362,11 @@ import SwiftEventBus |
362 | switch action.style{ | 362 | switch action.style{ |
363 | case .default: | 363 | case .default: |
364 | self.navigationController?.popViewController(animated: true) | 364 | self.navigationController?.popViewController(animated: true) |
365 | - SwiftEventBus.post("open_my_rewards") | 365 | +// SwiftEventBus.post("open_my_rewards") |
366 | + let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: SwiftWarplyFramework.CouponsViewController.self)) | ||
367 | + if let vc = storyboard.instantiateViewController(withIdentifier: "CouponsViewController") as? SwiftWarplyFramework.CouponsViewController{ | ||
368 | + self.navigationController?.pushViewController(vc,animated: true) | ||
369 | + } | ||
366 | 370 | ||
367 | case .cancel: | 371 | case .cancel: |
368 | print("cancel") | 372 | print("cancel") | ... | ... |
-
Please register or login to post a comment