-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or request
Description
When trying to use the @navigable without Tabs as Root of the navigation I need a root implementation e.g.
/// The main listing view for the app, showing all the articles we downloaded.
@NavigationRoot struct Root: View {
@ViewModel private var viewModel = RootViewModel()
var content: () -> ArticlesList
var body: some View {
switch viewModel.destination {
case .root:
NavigationStack {
content()
}
case .none:
EmptyView()
}
}
}
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request