mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-19 08:03:50 +02:00
vector-im/element-ios/issues/5114 - Various tweaks following PR review.
This commit is contained in:
committed by
Stefan Ceriu
parent
bf6ef2bce2
commit
d7e9fe61b4
@@ -26,10 +26,7 @@ enum MockPollEditFormScreenState: MockScreenState, CaseIterable {
|
||||
}
|
||||
|
||||
var screenView: ([Any], AnyView) {
|
||||
let viewModel = PollEditFormViewModel(parameters: PollEditFormViewModelParameters(mode: .creation,
|
||||
pollDetails: PollDetails(type: .disclosed,
|
||||
question: "",
|
||||
answerOptions: ["", ""])))
|
||||
let viewModel = PollEditFormViewModel(parameters: PollEditFormViewModelParameters(mode: .creation, pollDetails: .default))
|
||||
return ([viewModel], AnyView(PollEditForm(viewModel: viewModel.context)))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user