mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-01-03 05:20:12 +01:00
Explicitely hiding votes when disclosed poll
This commit is contained in:
parent
6608264d15
commit
a8d43538f1
@ -82,6 +82,7 @@ class PollOptionView @JvmOverloads constructor(
|
|||||||
private fun renderPollUndisclosed(state: PollOptionViewState.PollUndisclosed) {
|
private fun renderPollUndisclosed(state: PollOptionViewState.PollUndisclosed) {
|
||||||
views.optionCheckImageView.isVisible = true
|
views.optionCheckImageView.isVisible = true
|
||||||
views.optionWinnerImageView.isVisible = false
|
views.optionWinnerImageView.isVisible = false
|
||||||
|
hideVotes()
|
||||||
renderVoteSelection(state.isSelected)
|
renderVoteSelection(state.isSelected)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user