We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7abd29e commit 1278528Copy full SHA for 1278528
1 file changed
Sources/LinkNavigator/Core/Core/TabLinkNavigator/TabLinkNavigator.swift
@@ -176,6 +176,16 @@ extension TabLinkNavigator {
176
.flatMap(\.currentTabNavigationController.viewControllers)
177
.compactMap { $0 as? MatchPathUsable }
178
179
+ if let fullSheetController {
180
+ let fullSheetMatchPathUsables = fullSheetController.viewControllers.compactMap { $0 as? MatchPathUsable }
181
+ matchPathUsables.insert(contentsOf: fullSheetMatchPathUsables, at: .zero)
182
+ }
183
+
184
+ if let modalController {
185
+ let modalMatchPathUsables = modalController.viewControllers.compactMap { $0 as? MatchPathUsable }
186
+ matchPathUsables.insert(contentsOf: modalMatchPathUsables, at: .zero)
187
188
189
matchPathUsables
190
.filter { linkItem.pathList.contains($0.matchPath) }
191
.forEach {
0 commit comments