Skip to content

Commit

Permalink
replaced strings
Browse files Browse the repository at this point in the history
  • Loading branch information
giannis-rdx committed Feb 25, 2025
1 parent 2730e05 commit 9f8b78a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ private fun NumberOfFactorsView(
) {
Text(
text = when (threshold) {
Threshold.All -> stringResource(id = R.string.shieldWizardRegularAccess_thresholdDescription_all)
Threshold.All -> stringResource(id = R.string.common_all)
is Threshold.Specific -> threshold.v1.toString()
},
style = RadixTheme.typography.body2Link,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ fun HiddenEntityCard(
horizontalArrangement = Arrangement.Center
) {
Text(
text = stringResource(id = R.string.factorSources_card_hiddenAccountsOrPersonas),
text = stringResource(id = R.string.common_hiddenAccountsOrPersonas),
style = RadixTheme.typography.body1HighImportance,
maxLines = 1,
color = RadixTheme.colors.gray2,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ private fun linkedEntitiesView(

val linkedText = when {
accountsCount == 0 && personasCount == 0 && hasAnyHiddenEntities -> stringResource(
R.string.securityShields_assigned_onlyHiddenEntities
R.string.common_hiddenAccountsOrPersonas
)
accountsCount == 0 && personasCount == 0 -> stringResource(R.string.common_none)
accountsCount != 0 && personasCount != 0 -> "$accountsText ${stringResource(id = R.string.dot_separator)} $personasText"
Expand Down

0 comments on commit 9f8b78a

Please sign in to comment.