We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 06da035 commit 61d740dCopy full SHA for 61d740d
1 file changed
Sources/LinkNavigator/Core/Core/SingleLinkNavigator.swift
@@ -331,7 +331,7 @@ extension SingleLinkNavigator {
331
/// - items: The new `ItemValue` to be applied to the last view controller.
332
/// - isAnimated: A flag indicating whether the reload should be animated.
333
private func _rootReloadLast(item: LinkItem, isAnimated _: Bool) {
334
- guard let lastPath = getCurrentPaths().last else { return }
+ guard let lastPath = getCurrentRootPaths().last else { return }
335
guard let rootController else { return }
336
guard
337
let new = routeBuilderItemList.first(where: { $0.matchPath == lastPath })?.routeBuild(
0 commit comments