mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-18 20:29:10 +03:00
Merge pull request #6431 from vector-im/fix/mna/closed-poll-visible-votes
[Poll] - Wrong votes in closed poll after removing 2 previous polls (PSG-590)
This commit is contained in:
commit
f3e7d0daff
2 changed files with 2 additions and 0 deletions
1
changelog.d/6430.bugfix
Normal file
1
changelog.d/6430.bugfix
Normal file
|
@ -0,0 +1 @@
|
|||
[Poll] Fixes visible and wrong votes in closed poll after removing 2 previous polls
|
|
@ -82,6 +82,7 @@ class PollOptionView @JvmOverloads constructor(
|
|||
private fun renderPollUndisclosed(state: PollOptionViewState.PollUndisclosed) {
|
||||
views.optionCheckImageView.isVisible = true
|
||||
views.optionWinnerImageView.isVisible = false
|
||||
hideVotes()
|
||||
renderVoteSelection(state.isSelected)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue