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