fix: code review notes
This commit is contained in:
parent
bf46b602a3
commit
cfbf53faf8
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue