Skip to content

Commit 53f0e35

Browse files
committed
fix(flipcash/purchase): correct subtitle for welcome bonus to use localized amounts
Signed-off-by: Brandon McAnsh <git@bmcreations.dev>
1 parent 654cef7 commit 53f0e35

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

apps/flipcash/core/src/main/res/values/strings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<string name="error_description_loginFailed">Something went wrong</string>
1414

1515
<string name="title_finalizeAccountCreationWithWelcomeBonus">Pay %1$s, Get %2$s</string>
16-
<string name="subtitle_finalizeAccountCreationWithWelcomeBonus">For a limited time new accounts will receive a free welcome bonus of $20 of stablecoins</string>
16+
<string name="subtitle_finalizeAccountCreationWithWelcomeBonus">For a limited time new accounts will receive a free welcome bonus of %1s of stablecoins</string>
1717
<string name="title_finalizeAccountCreationWithoutBonus">Pay %1$s</string>
1818
<string name="subtitle_finalizeAccountCreationWithoutBonus">Pay %1$s to create your Flipcash account</string>
1919

apps/flipcash/features/purchase/src/main/kotlin/com/flipcash/app/purchase/internal/PurchaseAccountViewModel.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ internal class PurchaseAccountViewModel @Inject constructor(
7676
private val subtitleForWelcomeBonus: String
7777
@Composable get() = stringResource(
7878
R.string.subtitle_finalizeAccountCreationWithWelcomeBonus,
79-
safeCost,
8079
safeReward
8180
)
8281

0 commit comments

Comments
 (0)