Commit d1f9378a authored by Thomas's avatar Thomas
Browse files

Fix an issue with poll

parent 25c237f0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;