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")
......
......@@ -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() {
......
......@@ -543,7 +543,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")
......