mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-27 03:49:04 +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
|
// private fun isPollActive(optionViewState: PollOptionViewState) = optionViewState !is PollOptionViewState.PollEnded
|
||||||
|
|
||||||
class Holder : AbsMessageItem.Holder(STUB_ID) {
|
class Holder : AbsMessageItem.Holder(STUB_ID) {
|
||||||
|
|
Loading…
Reference in a new issue