diff --git a/Tools/Scripts/Templates/SimpleScreenExample/ElementX/View/TemplateScreen.swift b/Tools/Scripts/Templates/SimpleScreenExample/ElementX/View/TemplateScreen.swift index c7a22fcd3..cd37f602c 100644 --- a/Tools/Scripts/Templates/SimpleScreenExample/ElementX/View/TemplateScreen.swift +++ b/Tools/Scripts/Templates/SimpleScreenExample/ElementX/View/TemplateScreen.swift @@ -47,12 +47,12 @@ struct TemplateScreen_Previews: PreviewProvider, TestablePreview { static let incrementedViewModel = makeViewModel(counterValue: 1) static var previews: some View { - NavigationStack { + ElementNavigationStack { TemplateScreen(context: viewModel.context) } .previewDisplayName("Initial") - NavigationStack { + ElementNavigationStack { TemplateScreen(context: incrementedViewModel.context) } .previewDisplayName("Incremented")