mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-18 23:48:29 +02:00
Inject AvatarViewMode as EnvironmentObject
This commit is contained in:
@@ -55,7 +55,7 @@ enum MockTemplateUserProfileScreenState: MockScreenState, CaseIterable {
|
||||
return (
|
||||
[service, viewModel],
|
||||
AnyView(TemplateUserProfile(viewModel: viewModel.context)
|
||||
.addDependency(MockAvatarService.example))
|
||||
.environmentObject(AvatarViewModel.withMockedServices()))
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user