Skip to content

Commit 9fc0dea

Browse files
committed
popToRoot
1 parent 8c58e37 commit 9fc0dea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/NavigationKit/NavigationKitManager.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public struct NavigationKitManager {
1212
presentationMode.wrappedValue.dismiss()
1313
}
1414

15-
public static func dismiss(with rootPresentationMode: Binding<RootPresentationMode>) {
15+
public static func popToRoot(with rootPresentationMode: Binding<RootPresentationMode>) {
1616
rootPresentationMode.wrappedValue.dismiss()
1717
}
1818

0 commit comments

Comments
 (0)