mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-10-31 16:24:11 +00:00
Forward current composer text to the new poll form to serve as the question/topic
This commit is contained in:
@@ -176,7 +176,7 @@ struct PollFormScreenViewModelTests {
|
||||
|
||||
// MARK: - Helpers
|
||||
|
||||
private mutating func setupViewModel(mode: PollFormMode = .new) {
|
||||
private mutating func setupViewModel(mode: PollFormMode = .new(topic: nil)) {
|
||||
viewModel = PollFormScreenViewModel(mode: mode,
|
||||
timelineController: MockTimelineController(timelineProxy: timelineProxy),
|
||||
analytics: AnalyticsServiceMock.default,
|
||||
|
||||
Reference in New Issue
Block a user