Make the AnalyticsServiceMock default a variable as well, for consistency.

This commit is contained in:
Stefan Ceriu
2026-05-20 20:13:15 +03:00
parent 13128d9869
commit ab82068740
63 changed files with 129 additions and 129 deletions
@@ -203,7 +203,7 @@ struct HomeScreenInviteCell_Previews: PreviewProvider, TestablePreview {
return HomeScreenViewModel(userSession: userSession,
selectedRoomPublisher: CurrentValueSubject<String?, Never>(nil).asCurrentValuePublisher(),
appSettings: AppSettings(),
analyticsService: AnalyticsServiceMock.default(),
analyticsService: AnalyticsServiceMock.default,
notificationManager: NotificationManagerMock(),
userIndicatorController: UserIndicatorControllerMock.default)
}