vector-im/element-ios/issues/5114 - Enabled poll editing and undisclosed polls.

This commit is contained in:
Stefan Ceriu
2022-02-21 12:32:41 +02:00
committed by Stefan Ceriu
parent fa9f477456
commit 5141b7b6cd
3 changed files with 3 additions and 5 deletions
@@ -96,8 +96,7 @@ final class TimelinePollCoordinator: Coordinator, Presentable, PollAggregatorDel
}
func canEditPoll() -> Bool {
return false // Intentionally disabled until platform parity.
// return pollAggregator.poll.isClosed == false && pollAggregator.poll.totalAnswerCount == 0
return pollAggregator.poll.isClosed == false && pollAggregator.poll.totalAnswerCount == 0
}
func endPoll() {