Skip to content

Commit edca7bd

Browse files
committed
chore(tokens/discovery): relabel holders as people
Signed-off-by: Brandon McAnsh <git@bmcreations.dev>
1 parent 31ff9ee commit edca7bd

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

  • apps/flipcash/features/discovery/src/main/kotlin/com/flipcash/app/discovery/internal/components

apps/flipcash/features/discovery/src/main/kotlin/com/flipcash/app/discovery/internal/components/TokenMetricsRow.kt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import androidx.compose.ui.Alignment
1616
import androidx.compose.ui.Modifier
1717
import androidx.compose.ui.graphics.Color
1818
import androidx.compose.ui.platform.LocalDensity
19+
import androidx.compose.ui.res.pluralStringResource
1920
import androidx.compose.ui.res.stringResource
2021
import androidx.compose.ui.text.rememberTextMeasurer
2122
import androidx.compose.ui.text.style.TextAlign
@@ -86,8 +87,9 @@ internal fun TokenMetricsRow(
8687
)
8788
Text(
8889
modifier = Modifier.alignByBaseline(),
89-
text = stringResource(
90-
R.string.label_holdersWithCount,
90+
text = pluralStringResource(
91+
R.plurals.subtitle_personCount,
92+
token.holderMetrics.currentHolders.toInt(),
9193
token.holderMetrics.currentHolders.abbreviated()
9294
),
9395
color = CodeTheme.colors.textMain,

0 commit comments

Comments
 (0)