mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 00:52:43 +02:00
Feature/4393 poll with visible participant p1
This commit is contained in:
committed by
JanNiklas Grabowski
parent
b76b4e0803
commit
902b529245
@@ -27,9 +27,10 @@ struct EditFormPollDetails {
|
||||
let question: String
|
||||
let answerOptions: [String]
|
||||
let maxSelections: UInt = 1
|
||||
let showParticipants: Bool
|
||||
|
||||
static var `default`: EditFormPollDetails {
|
||||
EditFormPollDetails(type: .disclosed, question: "", answerOptions: ["", ""])
|
||||
EditFormPollDetails(type: .disclosed, question: "", answerOptions: ["", ""], showParticipants: false)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -96,6 +97,7 @@ struct PollEditFormViewStateBindings {
|
||||
var question: PollEditFormQuestion
|
||||
var answerOptions: [PollEditFormAnswerOption]
|
||||
var type: EditFormPollType
|
||||
var showParticipants: Bool
|
||||
|
||||
var alertInfo: PollEditFormErrorAlertInfo?
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user