Manos Chorianopoulos

add dismiss at navbar back btn

...@@ -34,6 +34,7 @@ extension UIViewController { ...@@ -34,6 +34,7 @@ extension UIViewController {
34 34
35 @objc func moveToBack(_ sender:UIButton){ 35 @objc func moveToBack(_ sender:UIButton){
36 self.navigationController?.popViewController(animated: true) 36 self.navigationController?.popViewController(animated: true)
37 + self.dismiss(animated: true, completion: {})
37 } 38 }
38 39
39 func setNavigationTitle(_ title: String, _ fontWeight: String? = "medium") { 40 func setNavigationTitle(_ title: String, _ fontWeight: String? = "medium") {
......