mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 01:20:12 +00:00
UI tests fix
This commit is contained in:
@@ -15,11 +15,12 @@ enum PollFormScreenViewModelAction: Equatable {
|
||||
|
||||
struct PollFormScreenViewState: BindableState {
|
||||
let mode: PollFormMode
|
||||
let maxNumberOfOptions = 20
|
||||
var maxNumberOfOptions: Int
|
||||
var bindings: PollFormScreenViewStateBindings = .init()
|
||||
|
||||
init(mode: PollFormMode) {
|
||||
init(mode: PollFormMode, maxNumberOfOptions: Int) {
|
||||
self.mode = mode
|
||||
self.maxNumberOfOptions = maxNumberOfOptions
|
||||
|
||||
switch mode {
|
||||
case .new:
|
||||
|
||||
Reference in New Issue
Block a user