mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2024-12-23 09:10:04 +02:00
Fix issue #233 - Issue with polls
This commit is contained in:
parent
91501ab46a
commit
e7a451da8d
1 changed files with 3 additions and 0 deletions
|
@ -1191,6 +1191,9 @@ public class StatusAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder>
|
|||
j++;
|
||||
}
|
||||
} else {
|
||||
if (statusToDeal.poll.voters_count == 0 && statusToDeal.poll.votes_count > 0) {
|
||||
statusToDeal.poll.voters_count = statusToDeal.poll.votes_count;
|
||||
}
|
||||
holder.binding.poll.rated.setVisibility(View.GONE);
|
||||
holder.binding.poll.submitVote.setVisibility(View.VISIBLE);
|
||||
if (statusToDeal.poll.multiple) {
|
||||
|
|
Loading…
Reference in a new issue