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
@@ -21,6 +21,7 @@ typealias TimelinePollViewModelCallback = (TimelinePollViewModelResult) -> Void
enum TimelinePollViewAction {
case selectAnswerOptionWithIdentifier(String)
case showParticipants
}
enum TimelinePollViewModelResult {
@@ -69,6 +70,7 @@ struct TimelinePollDetails {
var startDate: Date
var totalAnswerCount: UInt
var type: TimelinePollType
var showParticipants: Bool
var eventType: TimelinePollEventType
var maxAllowedSelections: UInt
var hasBeenEdited: Bool