Manos Chorianopoulos

fix back btn action issue

...@@ -161,7 +161,7 @@ import SwiftEventBus ...@@ -161,7 +161,7 @@ import SwiftEventBus
161 switch action.style{ 161 switch action.style{
162 case .default: 162 case .default:
163 self.navigationController?.popViewController(animated: true) 163 self.navigationController?.popViewController(animated: true)
164 - self.dismiss(animated: true, completion: {}) 164 + // self.dismiss(animated: true, completion: {})
165 165
166 case .cancel: 166 case .cancel:
167 print("cancel") 167 print("cancel")
......
...@@ -193,7 +193,7 @@ import MapKit ...@@ -193,7 +193,7 @@ import MapKit
193 switch action.style{ 193 switch action.style{
194 case .default: 194 case .default:
195 self.navigationController?.popViewController(animated: true) 195 self.navigationController?.popViewController(animated: true)
196 - self.dismiss(animated: true, completion: {}) 196 + // self.dismiss(animated: true, completion: {})
197 197
198 case .cancel: 198 case .cancel:
199 print("cancel") 199 print("cancel")
......
...@@ -218,7 +218,7 @@ import SwiftEventBus ...@@ -218,7 +218,7 @@ import SwiftEventBus
218 switch action.style{ 218 switch action.style{
219 case .default: 219 case .default:
220 self.navigationController?.popViewController(animated: true) 220 self.navigationController?.popViewController(animated: true)
221 - self.dismiss(animated: true, completion: {}) 221 + // self.dismiss(animated: true, completion: {})
222 222
223 case .cancel: 223 case .cancel:
224 print("cancel") 224 print("cancel")
......
...@@ -102,7 +102,7 @@ import SwiftEventBus ...@@ -102,7 +102,7 @@ import SwiftEventBus
102 case .default: 102 case .default:
103 SwiftEventBus.post("refresh_unified_coupons") 103 SwiftEventBus.post("refresh_unified_coupons")
104 self.navigationController?.popViewController(animated: true) 104 self.navigationController?.popViewController(animated: true)
105 - self.dismiss(animated: true, completion: {}) 105 + // self.dismiss(animated: true, completion: {})
106 106
107 case .cancel: 107 case .cancel:
108 print("cancel") 108 print("cancel")
......
...@@ -90,7 +90,7 @@ extension UIViewController { ...@@ -90,7 +90,7 @@ extension UIViewController {
90 90
91 @objc func moveToBack(_ sender:UIButton){ 91 @objc func moveToBack(_ sender:UIButton){
92 self.navigationController?.popViewController(animated: true) 92 self.navigationController?.popViewController(animated: true)
93 - self.dismiss(animated: true, completion: {}) 93 + // self.dismiss(animated: true, completion: {})
94 } 94 }
95 95
96 func addNavShadow() { 96 func addNavShadow() {
......
...@@ -603,7 +603,7 @@ import SwiftEventBus ...@@ -603,7 +603,7 @@ import SwiftEventBus
603 switch action.style{ 603 switch action.style{
604 case .default: 604 case .default:
605 self.navigationController?.popViewController(animated: true) 605 self.navigationController?.popViewController(animated: true)
606 - self.dismiss(animated: true, completion: {}) 606 + // self.dismiss(animated: true, completion: {})
607 607
608 case .cancel: 608 case .cancel:
609 print("cancel") 609 print("cancel")
...@@ -625,7 +625,7 @@ import SwiftEventBus ...@@ -625,7 +625,7 @@ import SwiftEventBus
625 // self.handleSpinnerAndEmptyView() 625 // self.handleSpinnerAndEmptyView()
626 // self.tableView.reloadData() 626 // self.tableView.reloadData()
627 self.navigationController?.popViewController(animated: true) 627 self.navigationController?.popViewController(animated: true)
628 - self.dismiss(animated: true, completion: {}) 628 + // self.dismiss(animated: true, completion: {})
629 629
630 case .cancel: 630 case .cancel:
631 print("cancel") 631 print("cancel")
......