Conformed the FeedListCoordinator coordinator in the Feed framework to the FeedListCoordination protocol.

This commit is contained in:
Javier Cicchelli 2024-03-21 21:51:16 +01:00
parent 5f2cc4638c
commit 391433210b

View File

@ -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
)
}
}