Fixes warning for debugging

This commit is contained in:
ericdecanini 2022-03-10 18:26:49 +01:00
parent 628a160c3a
commit df6ae4b848
1 changed files with 1 additions and 1 deletions

View File

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