diff --git a/core/src/main/java/org/futo/circles/core/model/PostContent.kt b/core/src/main/java/org/futo/circles/core/model/PostContent.kt index ffd7521acfa4d18ffb07269b80be143de625d722..fa4194c5a511560cdded6d6f4e7254549f9ae65b 100644 --- a/core/src/main/java/org/futo/circles/core/model/PostContent.kt +++ b/core/src/main/java/org/futo/circles/core/model/PostContent.kt @@ -53,8 +53,7 @@ enum class PollState { Sending, Ready, Voted, Ended } fun PollState.canEdit() = this == PollState.Sending || this == PollState.Ready -fun PollState.canVote() = - this != PollState.Sending && this != PollState.Ended && this != PollState.Voted +fun PollState.canVote() = this != PollState.Sending && this != PollState.Ended data class PollOption( val optionId: String,