mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2024-12-22 08:40:03 +02:00
Fix an issue with poll
This commit is contained in:
parent
25c237f0a8
commit
d1f9378a11
1 changed files with 1 additions and 1 deletions
|
@ -1782,7 +1782,7 @@ public class StatusAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder>
|
|||
|
||||
if (statusToDeal.poll != null && statusToDeal.poll.options != null) {
|
||||
int normalize;
|
||||
if(statusToDeal.poll.multiple && statusToDeal.poll.voters_count != 0) {
|
||||
if(statusToDeal.poll.multiple && statusToDeal.poll.voters_count > 1) {
|
||||
normalize = statusToDeal.poll.voters_count;
|
||||
} else {
|
||||
normalize = statusToDeal.poll.votes_count;
|
||||
|
|
Loading…
Reference in a new issue