Skip to content

Commit

Permalink
Add @ViewBuilder to NavigationStack. init root (pointfreeco#3493)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshrl authored Nov 14, 2024
1 parent 2170719 commit 333aa22
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ extension NavigationStack {
/// this view.
public init<State, Action, Destination: View, R>(
path: Binding<Store<StackState<State>, StackAction<State, Action>>>,
root: () -> R,
@ViewBuilder root: () -> R,
@ViewBuilder destination: @escaping (Store<State, Action>) -> Destination,
fileID: StaticString = #fileID,
filePath: StaticString = #filePath,
Expand Down

0 comments on commit 333aa22

Please sign in to comment.