Introduce StateStore with bindings example for Chat example.

This commit is contained in:
David Langley
2021-09-15 11:47:59 +01:00
parent f3dbd2a056
commit 7aad7c51ba
8 changed files with 37 additions and 39 deletions
@@ -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))
}
}