Reverts debug isPollActive

This commit is contained in:
ericdecanini 2022-03-10 21:26:08 +01:00
parent 6db1c377c4
commit 6a59007eb5
1 changed files with 1 additions and 2 deletions

View File

@ -85,8 +85,7 @@ abstract class PollItem : AbsMessageItem<PollItem.Holder>() {
}
}
private fun isPollActive(optionViewState: PollOptionViewState) = optionViewState.let { true } // TODO: Revert (true for debugging)
// private fun isPollActive(optionViewState: PollOptionViewState) = optionViewState !is PollOptionViewState.PollEnded
private fun isPollActive(optionViewState: PollOptionViewState) = optionViewState !is PollOptionViewState.PollEnded
class Holder : AbsMessageItem.Holder(STUB_ID) {
val questionTextView by bind<TextView>(R.id.questionTextView)