mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 01:20:12 +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 let incrementedViewModel = makeViewModel(counterValue: 1)
|
||||||
|
|
||||||
static var previews: some View {
|
static var previews: some View {
|
||||||
NavigationStack {
|
ElementNavigationStack {
|
||||||
TemplateScreen(context: viewModel.context)
|
TemplateScreen(context: viewModel.context)
|
||||||
}
|
}
|
||||||
.previewDisplayName("Initial")
|
.previewDisplayName("Initial")
|
||||||
|
|
||||||
NavigationStack {
|
ElementNavigationStack {
|
||||||
TemplateScreen(context: incrementedViewModel.context)
|
TemplateScreen(context: incrementedViewModel.context)
|
||||||
}
|
}
|
||||||
.previewDisplayName("Incremented")
|
.previewDisplayName("Incremented")
|
||||||
|
|||||||
Reference in New Issue
Block a user