Manos Chorianopoulos

fix back button action issue

...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
7 <key>Pods-SwiftWarplyFramework.xcscheme_^#shared#^_</key> 7 <key>Pods-SwiftWarplyFramework.xcscheme_^#shared#^_</key>
8 <dict> 8 <dict>
9 <key>orderHint</key> 9 <key>orderHint</key>
10 - <integer>0</integer> 10 + <integer>1</integer>
11 </dict> 11 </dict>
12 </dict> 12 </dict>
13 </dict> 13 </dict>
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
7 <key>SwiftWarplyFramework.xcscheme_^#shared#^_</key> 7 <key>SwiftWarplyFramework.xcscheme_^#shared#^_</key>
8 <dict> 8 <dict>
9 <key>orderHint</key> 9 <key>orderHint</key>
10 - <integer>1</integer> 10 + <integer>0</integer>
11 </dict> 11 </dict>
12 </dict> 12 </dict>
13 </dict> 13 </dict>
......
...@@ -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() {
......
...@@ -557,7 +557,7 @@ import SwiftEventBus ...@@ -557,7 +557,7 @@ import SwiftEventBus
557 switch action.style{ 557 switch action.style{
558 case .default: 558 case .default:
559 self.navigationController?.popViewController(animated: true) 559 self.navigationController?.popViewController(animated: true)
560 - self.dismiss(animated: true, completion: {}) 560 + // self.dismiss(animated: true, completion: {})
561 561
562 case .cancel: 562 case .cancel:
563 print("cancel") 563 print("cancel")
......