Skip to content

Commit

Permalink
Fix a problem on the package
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisMyrants committed Apr 18, 2019
1 parent 800b14a commit b1546ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions NavigationHelperUIKit/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
Expand All @@ -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()
}
Expand Down

0 comments on commit b1546ef

Please sign in to comment.