mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 00:52:43 +02:00
Introduce StateStore with bindings example for Chat example.
This commit is contained in:
+1
-1
@@ -46,7 +46,7 @@ enum MockTemplateRoomChatScreenState: MockScreenState, CaseIterable {
|
||||
|
||||
// can simulate service and viewModel actions here if needs be.
|
||||
|
||||
return AnyView(TemplateRoomChat(viewModel: viewModel)
|
||||
return AnyView(TemplateRoomChat(viewModel: viewModel.context)
|
||||
.addDependency(MockAvatarService.example))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user