NTP-7179 | Narayan | Fix rewards amount for single coin case (#13773)
This commit is contained in:
committed by
GitHub
parent
452331f04b
commit
b5c3b35808
@@ -822,7 +822,13 @@ private fun RewardsWonGratificationSection(
|
||||
NaviText(
|
||||
text =
|
||||
stringResource(
|
||||
id = R.string.np_rewards_won_suffix,
|
||||
id =
|
||||
if (
|
||||
(rewardsGratificationUIState.amount.toDoubleOrNull() ?: 0.0) ==
|
||||
1.00
|
||||
)
|
||||
R.string.np_rewards_won_suffix_singular
|
||||
else R.string.np_rewards_won_suffix,
|
||||
rewardsGratificationUIState.amount
|
||||
),
|
||||
fontFamily = ttComposeFontFamily,
|
||||
|
||||
@@ -797,6 +797,7 @@
|
||||
<string name="np_add_account_rewards_message">You\'re just 1 payment away from \nwinning upto </string>
|
||||
<string name="np_rewards_won_prefix">You\'ve won </string>
|
||||
<string name="np_rewards_won_suffix">%s Navi coins</string>
|
||||
<string name="np_rewards_won_suffix_singular">%s Navi coin</string>
|
||||
<string name="np_block_and_spam_cta_text">Don\'t know this user?</string>
|
||||
<string name="np_block_and_spam_cta_text_v2">Don\'t know user?</string>
|
||||
<string name="np_bank_account_not_linked_title">Account not linked</string>
|
||||
|
||||
Reference in New Issue
Block a user