Skip to content

Commit 81ea974

Browse files
committed
Use rootCoordinator.url in case of top-level redirect
1 parent 2c26551 commit 81ea974

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/LiveViewNative/LiveView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,6 @@ public struct LiveView<R: CustomRegistry>: View {
115115
}
116116

117117
private var navigationRoot: some View {
118-
NavStackEntryView(.init(url: session.url, coordinator: rootCoordinator))
118+
NavStackEntryView(.init(url: rootCoordinator.url, coordinator: rootCoordinator))
119119
}
120120
}

0 commit comments

Comments
 (0)