From 4591054effcdc4bb46dc09f0e752ffcfd9f3e088 Mon Sep 17 00:00:00 2001 From: Matej Simota Date: Fri, 12 Dec 2025 13:00:15 +0100 Subject: [PATCH] fix modalnavigation dismissrouter function not passing completion --- CHANGELOG.md | 3 +++ Sources/FlowPilot/ModalNavigationRouter.swift | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 927af09..9d54468 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # CleevioRouters Changelog +## [3.2.2] - 2025-12-12 +- Fix ModalNavigationRouter dismissRouter function not calling completion + ## [3.2.1] - 2025-12-05 - Fix ModalNavigationRouter dismissRouter function diff --git a/Sources/FlowPilot/ModalNavigationRouter.swift b/Sources/FlowPilot/ModalNavigationRouter.swift index 83ac27d..35c6395 100644 --- a/Sources/FlowPilot/ModalNavigationRouter.swift +++ b/Sources/FlowPilot/ModalNavigationRouter.swift @@ -65,7 +65,7 @@ open class ModalNavigationRouter: ModalRouter { } open override func dismissRouter(animated: Bool, completion: (() -> Void)?) { - navigationRouterWrapper.navigationRouter.dismissRouter(animated: animated, completion: nil) + navigationRouterWrapper.navigationRouter.dismissRouter(animated: animated, completion: completion) } }