ActivityIndicatorPresenter: Fix Giom's review remark

This commit is contained in:
manuroe
2019-09-27 16:38:52 +02:00
parent 4a8ad57411
commit 807cb697a6
@@ -42,6 +42,9 @@ final class ActivityIndicatorPresenter: ActivityIndicatorPresenterType {
func presentActivityIndicator(on view: UIView, animated: Bool, completion: (() -> Void)? = nil) {
if self.presentingView != nil {
if let completion = completion {
completion()
}
return
}