mirror of
https://github.com/element-hq/element-android
synced 2024-11-28 13:38:49 +03:00
Fixes warning for debugging
This commit is contained in:
parent
628a160c3a
commit
df6ae4b848
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue