mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-10-31 08:15:24 +00:00
Fix template screen ElementNavigationStack errors
This commit is contained in:
committed by
Stefan Ceriu
parent
87aaf1065e
commit
df7914d052
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user