Skip to content

Commit e842222

Browse files
committed
Fix detached view controller presentation issue
1 parent aa25e25 commit e842222

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Navigation/Navigation/RootView.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ struct RootView: View {
3232
.navigationDestination(for: Screen.self) { screen in
3333
screen.view
3434
}
35-
.sheet(item: $coordinator.modal) { screen in
36-
RootView(screen, withParent: coordinator)
37-
}
35+
}
36+
.sheet(item: $coordinator.modal) { screen in
37+
RootView(screen, withParent: coordinator)
3838
}
3939
.environmentObject(coordinator)
4040
}

0 commit comments

Comments
 (0)