Updated on 2026-08-14

This commit is contained in:
Tangem 2024-11-29 12:57:29 +05:00
parent d7d50b086a
commit 334eb75395
8 changed files with 70 additions and 44 deletions

View file

@ -115,18 +115,14 @@ private fun CountryContent(name: String, flagUrl: String, isCountrySupported: Bo
maxLines = 1,
)
Text(
modifier = Modifier.padding(top = TangemTheme.dimens.spacing6),
text = stringResource(
id = if (isCountrySupported) {
R.string.onramp_residency_bottomsheet_country_subtitle
} else {
R.string.onramp_residency_bottomsheet_country_not_supported
},
),
color = if (isCountrySupported) TangemTheme.colors.text.tertiary else TangemTheme.colors.text.warning,
style = TangemTheme.typography.body2,
)
if (!isCountrySupported) {
Text(
modifier = Modifier.padding(top = TangemTheme.dimens.spacing6),
text = stringResource(id = R.string.onramp_residency_bottomsheet_country_not_supported),
color = TangemTheme.colors.text.warning,
style = TangemTheme.typography.body2,
)
}
}
}