Updated on 2026-08-14
This commit is contained in:
parent
3773f5f8c9
commit
7579f9623b
4 changed files with 6 additions and 10 deletions
|
|
@ -747,11 +747,7 @@ private fun LazyListScope.predefinedTokensListItems(state: PredefinedTokensUM) {
|
||||||
.roundedShapeItemDecoration(
|
.roundedShapeItemDecoration(
|
||||||
currentIndex = index,
|
currentIndex = index,
|
||||||
lastIndex = state.items.lastIndex,
|
lastIndex = state.items.lastIndex,
|
||||||
backgroundColor = if (LocalRedesignEnabled.current) {
|
backgroundColor = TangemTheme.colors.background.primary,
|
||||||
TangemTheme.colors2.surface.level1
|
|
||||||
} else {
|
|
||||||
TangemTheme.colors.background.primary
|
|
||||||
},
|
|
||||||
)
|
)
|
||||||
.testTag(BuyTokenScreenTestTags.LAZY_LIST_ITEM)
|
.testTag(BuyTokenScreenTestTags.LAZY_LIST_ITEM)
|
||||||
.semantics { lazyListItemPosition = index },
|
.semantics { lazyListItemPosition = index },
|
||||||
|
|
|
||||||
|
|
@ -67,7 +67,7 @@ internal class DefaultCampaignsComponent @AssistedInject constructor(
|
||||||
onDismissRequest = model::onDismiss,
|
onDismissRequest = model::onDismiss,
|
||||||
content = TangemBottomSheetConfigContent.Empty,
|
content = TangemBottomSheetConfigContent.Empty,
|
||||||
),
|
),
|
||||||
containerColor = TangemTheme.colors3.bg.primary,
|
containerColor = TangemTheme.colors3.bg.secondary,
|
||||||
type = TangemBottomSheetType.Modal,
|
type = TangemBottomSheetType.Modal,
|
||||||
onBack = model::onDismiss,
|
onBack = model::onDismiss,
|
||||||
title = {
|
title = {
|
||||||
|
|
|
||||||
|
|
@ -92,8 +92,8 @@ private fun SelectedTokenContent(
|
||||||
|
|
||||||
Text(
|
Text(
|
||||||
text = stringResourceSafe(R.string.promo_campaign_select_cashback_account),
|
text = stringResourceSafe(R.string.promo_campaign_select_cashback_account),
|
||||||
style = TangemTheme.typography.subtitle1,
|
style = TangemTheme.typography3.body.medium,
|
||||||
color = TangemTheme.colors.text.primary1,
|
color = TangemTheme.colors3.text.primary,
|
||||||
modifier = Modifier.fillMaxWidth(),
|
modifier = Modifier.fillMaxWidth(),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -33,8 +33,8 @@ internal fun ActivateCampaignFooter(footerUM: FooterUM, modifier: Modifier = Mod
|
||||||
if (terms != null) {
|
if (terms != null) {
|
||||||
Text(
|
Text(
|
||||||
text = termsAnnotatedString(terms),
|
text = termsAnnotatedString(terms),
|
||||||
style = TangemTheme.typography.caption2,
|
style = TangemTheme.typography3.caption.medium,
|
||||||
color = TangemTheme.colors.text.secondary,
|
color = TangemTheme.colors3.text.secondary,
|
||||||
textAlign = TextAlign.Center,
|
textAlign = TextAlign.Center,
|
||||||
modifier = Modifier.fillMaxWidth(),
|
modifier = Modifier.fillMaxWidth(),
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue