Skip to content

Commit

Permalink
Fix detached view controller presentation issue
Browse files Browse the repository at this point in the history
  • Loading branch information
silkodenis committed Aug 10, 2024
1 parent aa25e25 commit e842222
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Navigation/Navigation/RootView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ struct RootView: View {
.navigationDestination(for: Screen.self) { screen in
screen.view
}
.sheet(item: $coordinator.modal) { screen in
RootView(screen, withParent: coordinator)
}
}
.sheet(item: $coordinator.modal) { screen in
RootView(screen, withParent: coordinator)
}
.environmentObject(coordinator)
}
Expand Down

0 comments on commit e842222

Please sign in to comment.