Add dependency management, AvatarViewModel and placeholder rendering now in AvatarImage.

This commit is contained in:
David Langley
2021-08-17 10:19:41 +01:00
parent 90bebceb9b
commit 7963915926
17 changed files with 103 additions and 72 deletions
@@ -90,8 +90,8 @@ struct RoomNotificationSettings_Previews: PreviewProvider {
NavigationView {
RoomNotificationSettings(viewModel: mockViewModel, presentedModally: true)
.navigationBarTitleDisplayMode(.inline)
.theme(ThemeIdentifier.dark.theme)
.addDependency(MockAvatarService.example)
.theme(ThemeIdentifier.dark)
}
}
}