fix: code review notes

This commit is contained in:
Nikita Semenov 2022-07-26 15:33:50 +03:00
parent bf46b602a3
commit cfbf53faf8
1 changed files with 3 additions and 3 deletions

View File

@ -34,10 +34,10 @@ public extension AlertDescriptor {
present(on: context, alertViewFactory: alertFactory, completion: completion)
}
func present(on context: AlertPresentationContext,
alertViewFactory: Closure<Self, AlertPresentable>,
completion: VoidClosure? = nil) {
alertViewFactory: Closure<Self, AlertPresentable>,
completion: VoidClosure? = nil) {
alertViewFactory(self).present(on: context, completion: completion)
}
}