From 391433210b2b9ee221143623c6684b41e07934c2 Mon Sep 17 00:00:00 2001 From: Javier Cicchelli Date: Thu, 21 Mar 2024 21:51:16 +0100 Subject: [PATCH] Conformed the FeedListCoordinator coordinator in the Feed framework to the FeedListCoordination protocol. --- .../Coordinators/FeedListCoordinator.swift | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Frameworks/Feed/Bundle/Sources/Coordinators/FeedListCoordinator.swift b/Frameworks/Feed/Bundle/Sources/Coordinators/FeedListCoordinator.swift index 2562825..6c6a162 100644 --- a/Frameworks/Feed/Bundle/Sources/Coordinators/FeedListCoordinator.swift +++ b/Frameworks/Feed/Bundle/Sources/Coordinators/FeedListCoordinator.swift @@ -44,3 +44,19 @@ public final class FeedListCoordinator: Coordinator { } } + +// MARK: - FeedListCoordination +extension FeedListCoordinator: FeedListCoordination { + + // MARK: Functions + func open(_ item: Review) { + present( + child: FeedItemCoordinator( + item: item, + router: router + ), + animated: true + ) + } + +}