Manos Chorianopoulos

fix back button action issue

......@@ -7,7 +7,7 @@
<key>Pods-SwiftWarplyFramework.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
<integer>1</integer>
</dict>
</dict>
</dict>
......
......@@ -7,7 +7,7 @@
<key>SwiftWarplyFramework.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>1</integer>
<integer>0</integer>
</dict>
</dict>
</dict>
......
......@@ -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() {
......
......@@ -557,7 +557,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")
......