Update UI for poll in the timeline

This commit is contained in:
Florian Renaud 2023-08-17 14:16:22 +02:00
parent 93e3029f92
commit 079d89ace5
7 changed files with 109 additions and 101 deletions

View file

@ -20,5 +20,8 @@ enum class PollKind {
Disclosed,
/** Results should be only revealed when the poll is ended. */
Undisclosed
Undisclosed,
}
val PollKind.isDisclosed: Boolean
get() = this == PollKind.Disclosed