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")
......
...@@ -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() {
......
...@@ -543,7 +543,7 @@ import SwiftEventBus ...@@ -543,7 +543,7 @@ import SwiftEventBus
543 switch action.style{ 543 switch action.style{
544 case .default: 544 case .default:
545 self.navigationController?.popViewController(animated: true) 545 self.navigationController?.popViewController(animated: true)
546 - self.dismiss(animated: true, completion: {}) 546 + // self.dismiss(animated: true, completion: {})
547 547
548 case .cancel: 548 case .cancel:
549 print("cancel") 549 print("cancel")
......