Manos Chorianopoulos

fix back btn action issue

......@@ -161,7 +161,7 @@ import SwiftEventBus
switch action.style{
case .default:
self.navigationController?.popViewController(animated: true)
self.dismiss(animated: true, completion: {})
// self.dismiss(animated: true, completion: {})
case .cancel:
print("cancel")
......
......@@ -193,7 +193,7 @@ import MapKit
switch action.style{
case .default:
self.navigationController?.popViewController(animated: true)
self.dismiss(animated: true, completion: {})
// self.dismiss(animated: true, completion: {})
case .cancel:
print("cancel")
......
......@@ -218,7 +218,7 @@ import SwiftEventBus
switch action.style{
case .default:
self.navigationController?.popViewController(animated: true)
self.dismiss(animated: true, completion: {})
// self.dismiss(animated: true, completion: {})
case .cancel:
print("cancel")
......
......@@ -102,7 +102,7 @@ import SwiftEventBus
case .default:
SwiftEventBus.post("refresh_unified_coupons")
self.navigationController?.popViewController(animated: true)
self.dismiss(animated: true, completion: {})
// self.dismiss(animated: true, completion: {})
case .cancel:
print("cancel")
......
......@@ -90,7 +90,7 @@ extension UIViewController {
@objc func moveToBack(_ sender:UIButton){
self.navigationController?.popViewController(animated: true)
self.dismiss(animated: true, completion: {})
// self.dismiss(animated: true, completion: {})
}
func addNavShadow() {
......
......@@ -603,7 +603,7 @@ import SwiftEventBus
switch action.style{
case .default:
self.navigationController?.popViewController(animated: true)
self.dismiss(animated: true, completion: {})
// self.dismiss(animated: true, completion: {})
case .cancel:
print("cancel")
......@@ -625,7 +625,7 @@ import SwiftEventBus
// self.handleSpinnerAndEmptyView()
// self.tableView.reloadData()
self.navigationController?.popViewController(animated: true)
self.dismiss(animated: true, completion: {})
// self.dismiss(animated: true, completion: {})
case .cancel:
print("cancel")
......