UI tests fix

This commit is contained in:
Mauro Romito
2025-04-28 15:00:04 +02:00
committed by Mauro
parent 65e62b7c75
commit cbb509254b
5 changed files with 10 additions and 7 deletions
@@ -17,8 +17,8 @@ class PollFormScreenViewModel: PollFormScreenViewModelType, PollFormScreenViewMo
actionsSubject.eraseToAnyPublisher()
}
init(mode: PollFormMode) {
super.init(initialViewState: .init(mode: mode))
init(mode: PollFormMode, maxNumberOfOptions: Int) {
super.init(initialViewState: .init(mode: mode, maxNumberOfOptions: maxNumberOfOptions))
}
// MARK: - Public