Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/flipcash/core/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1352,7 +1352,7 @@
<string name="title_tabYou">You</string>


<string name="title_howMarketCapWorks">How Market Cap Works</string>
<string name="title_howTokenPriceWorks">How %1$s\'s Price Works</string>
<string name="subtitle_howMarketCapWorksRow">See what moves market cap · 1 min</string>
<string name="title_marketCapExplainerHeadline">The more people buy %1$s, the more valuable %1$s becomes.</string>
<string name="label_marketCapAmountPurchased">Amount of %1$s purchased by the community</string>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ internal fun CurrencyInfoContentV2(
.fillParentMaxWidth()
.padding(horizontal = inset)
.padding(top = grid.x3),
tokenName = token.name,
onClick = openExplainer,
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ import com.getcode.theme.extraSmall
/** Entry point to the explainer: "Row / How price works" (design node 10761:1879). */
@Composable
internal fun MarketCapExplainerRow(
tokenName: String,
onClick: () -> Unit,
modifier: Modifier = Modifier,
) {
Expand Down Expand Up @@ -61,7 +62,7 @@ internal fun MarketCapExplainerRow(
verticalArrangement = Arrangement.spacedBy(2.dp),
) {
Text(
text = stringResource(R.string.title_howMarketCapWorks),
text = stringResource(R.string.title_howTokenPriceWorks, tokenName),
style = CodeTheme.typography.textMedium,
color = CodeTheme.colors.textMain,
)
Expand Down
Loading