MESSENGER-4484 poi participants in history

This commit is contained in:
Frank Rotermund
2023-07-18 11:44:35 +00:00
parent b386e7c812
commit dc5198f5d9
11 changed files with 55 additions and 17 deletions
@@ -30,8 +30,8 @@ class TimelinePollViewModel: TimelinePollViewModelType, TimelinePollViewModelPro
// MARK: - Setup
init(timelinePollDetailsState: TimelinePollDetailsState) {
super.init(initialViewState: TimelinePollViewState(pollState: timelinePollDetailsState, bindings: TimelinePollViewStateBindings()))
init(timelinePollDetailsState: TimelinePollDetailsState, showParticipantsButton: Bool = true) {
super.init(initialViewState: TimelinePollViewState(pollState: timelinePollDetailsState, bindings: TimelinePollViewStateBindings( showParticipantButton: showParticipantsButton)))
}
// MARK: - Public