Feature/4393 poll with visible participant p1

This commit is contained in:
Frank Rotermund
2023-05-25 13:52:30 +00:00
committed by JanNiklas Grabowski
parent b76b4e0803
commit 902b529245
18 changed files with 71 additions and 5 deletions
@@ -40,6 +40,7 @@ enum MockPollHistoryDetailScreenState: MockScreenState, CaseIterable {
startDate: .init(timeIntervalSinceReferenceDate: 0),
totalAnswerCount: 20,
type: self == .closedDisclosed || self == .openDisclosed ? .disclosed : .undisclosed,
showParticipants: false,
eventType: self == .closedPollEnded ? .ended : .started,
maxAllowedSelections: 1,
hasBeenEdited: false,