Update UI for poll in the timeline

This commit is contained in:
Florian Renaud 2023-08-17 14:16:22 +02:00
parent 3a476f5130
commit 00752d851a
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