From b1546efd81bd40b247d54e21adff681b76eb85aa Mon Sep 17 00:00:00 2001 From: Christian Miranti Date: Thu, 18 Apr 2019 12:40:11 +0200 Subject: [PATCH] Fix a problem on the package --- NavigationHelperUIKit/ViewController.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NavigationHelperUIKit/ViewController.swift b/NavigationHelperUIKit/ViewController.swift index a947f1d..6e008e0 100644 --- a/NavigationHelperUIKit/ViewController.swift +++ b/NavigationHelperUIKit/ViewController.swift @@ -36,7 +36,7 @@ extension UIViewController: ModalPresenter { DispatchQueue.main.async { Log.presenter("\(self): will show \(viewController)") - self.present(viewController, animated: animated, completion: done) + self.present(viewController, animated: animated, completion: { done(()) }) } }.start() } @@ -59,7 +59,7 @@ extension UIViewController: ModalPresenter { DispatchQueue.main.async { Log.presenter("\(self): will hide") - self.dismiss(animated: animated, completion: done) + self.dismiss(animated: animated, completion: { done(()) }) } }.start() }