forked from mirrors/Fedilab
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++;
|
j++;
|
||||||
}
|
}
|
||||||
} else {
|
} 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.rated.setVisibility(View.GONE);
|
||||||
holder.binding.poll.submitVote.setVisibility(View.VISIBLE);
|
holder.binding.poll.submitVote.setVisibility(View.VISIBLE);
|
||||||
if (statusToDeal.poll.multiple) {
|
if (statusToDeal.poll.multiple) {
|
||||||
|
|
Loading…
Reference in a new issue