mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-11-24 08:55:14 +03:00
added logic for zero estimated
This commit is contained in:
parent
9d1cce4781
commit
d7c685f17a
@ -225,22 +225,22 @@ class UpvoteView extends Component {
|
||||
<Text style={styles.detailsText}>
|
||||
{`${intl.formatMessage({
|
||||
id: 'payout.promoted',
|
||||
})} ~$${promotedPayout}`}
|
||||
})} ${promotedPayout > 0 ? '~' : ''}$${promotedPayout}`}
|
||||
</Text>
|
||||
<Text style={styles.detailsText}>
|
||||
{`${intl.formatMessage({
|
||||
id: 'payout.potential_payout',
|
||||
})} ~$${pendingPayout}`}
|
||||
})} ${pendingPayout > 0 ? '~' : ''}$${pendingPayout}`}
|
||||
</Text>
|
||||
<Text style={styles.detailsText}>
|
||||
{`${intl.formatMessage({
|
||||
id: 'payout.author_payout',
|
||||
})} ~$${authorPayout}`}
|
||||
})} ${authorPayout > 0 ? '~' : ''}$${authorPayout}`}
|
||||
</Text>
|
||||
<Text style={styles.detailsText}>
|
||||
{`${intl.formatMessage({
|
||||
id: 'payout.curation_payout',
|
||||
})} ~$${curationPayout}`}
|
||||
})} ${curationPayout > 0 ? '~' : ''}$${curationPayout}`}
|
||||
</Text>
|
||||
<Text style={styles.detailsText}>
|
||||
{`${intl.formatMessage({
|
||||
|
Loading…
Reference in New Issue
Block a user