fix(rn, polls): Fix vote percentage alignment

This commit is contained in:
Vlad Piersec 2021-10-11 11:50:01 +03:00 committed by vp8x8
parent 7f95bc23fe
commit 95e96b605d
1 changed files with 3 additions and 1 deletions

View File

@ -38,7 +38,9 @@ const PollResults = (props: AbstractProps) => {
const renderHeader = (answer: string, percentage: number, nbVotes: number) => (
<View style = { resultsStyles.answerHeader }>
<Text style = { resultsStyles.answer }>{ answer }</Text>
<Text style = { resultsStyles.answer }>({nbVotes}) {percentage}%</Text>
<View>
<Text style = { resultsStyles.answer }>({nbVotes}) {percentage}%</Text>
</View>
{/* <Text style = { resultsStyles.answer }>{ answer } - { percentage }%</Text>
<Text style = { resultsStyles.answerVoteCount }>