From cfbf53faf8519d9937a4295307adaa121cb2407f Mon Sep 17 00:00:00 2001 From: Nikita Semenov Date: Tue, 26 Jul 2022 15:33:50 +0300 Subject: [PATCH] fix: code review notes --- .../Sources/Extensions/Alerts/AlertDescriptor+Helpers.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/TIUIKitCore/Sources/Extensions/Alerts/AlertDescriptor+Helpers.swift b/TIUIKitCore/Sources/Extensions/Alerts/AlertDescriptor+Helpers.swift index 192f504e..716d2522 100644 --- a/TIUIKitCore/Sources/Extensions/Alerts/AlertDescriptor+Helpers.swift +++ b/TIUIKitCore/Sources/Extensions/Alerts/AlertDescriptor+Helpers.swift @@ -34,10 +34,10 @@ public extension AlertDescriptor { present(on: context, alertViewFactory: alertFactory, completion: completion) } - + func present(on context: AlertPresentationContext, - alertViewFactory: Closure, - completion: VoidClosure? = nil) { + alertViewFactory: Closure, + completion: VoidClosure? = nil) { alertViewFactory(self).present(on: context, completion: completion) } }