Update files following swiftformat upgrade

This commit is contained in:
Stefan Ceriu
2026-01-27 08:47:03 +02:00
committed by Stefan Ceriu
parent 2bb26efbe1
commit 04053ae69b
343 changed files with 1502 additions and 1048 deletions

View File

@@ -118,10 +118,9 @@ struct RoomPollsHistoryScreen_Previews: PreviewProvider, TestablePreview {
let timelineController = MockTimelineController()
timelineController.timelineItems = []
let roomProxyMockConfiguration = JoinedRoomProxyMockConfiguration(name: "Polls")
let viewModel = RoomPollsHistoryScreenViewModel(pollInteractionHandler: PollInteractionHandlerMock(),
timelineController: timelineController,
userIndicatorController: UserIndicatorControllerMock())
return viewModel
return RoomPollsHistoryScreenViewModel(pollInteractionHandler: PollInteractionHandlerMock(),
timelineController: timelineController,
userIndicatorController: UserIndicatorControllerMock())
}()
static let viewModel: RoomPollsHistoryScreenViewModel = {
@@ -140,11 +139,9 @@ struct RoomPollsHistoryScreen_Previews: PreviewProvider, TestablePreview {
}
let roomProxyMockConfiguration = JoinedRoomProxyMockConfiguration(name: "Polls", timelineStartReached: true)
let viewModel = RoomPollsHistoryScreenViewModel(pollInteractionHandler: PollInteractionHandlerMock(),
timelineController: timelineController,
userIndicatorController: UserIndicatorControllerMock())
return viewModel
return RoomPollsHistoryScreenViewModel(pollInteractionHandler: PollInteractionHandlerMock(),
timelineController: timelineController,
userIndicatorController: UserIndicatorControllerMock())
}()
static var previews: some View {