mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-04-27 05:39:10 +00:00
Fix no votes label.
This commit is contained in:
parent
de4a477686
commit
a142a2717c
@ -308,7 +308,7 @@ void HistoryPoll::updateVotesCheckAnimations() const {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void HistoryPoll::updateTotalVotes() const {
|
void HistoryPoll::updateTotalVotes() const {
|
||||||
if (_totalVotes == _poll->totalVoters) {
|
if (_totalVotes == _poll->totalVoters && !_totalVotesLabel.isEmpty()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
_totalVotes = _poll->totalVoters;
|
_totalVotes = _poll->totalVoters;
|
||||||
|
Loading…
Reference in New Issue
Block a user