Updated on 2026-08-14

This commit is contained in:
Tangem 2025-10-23 10:13:29 +03:00
parent aa6f185cd1
commit 7d19c86f04
6 changed files with 98 additions and 14 deletions

View file

@ -126,7 +126,7 @@ internal fun YieldSupplyFeePolicyContent(
@Composable
private fun MinFeeNote(yieldSupplyFeeUM: YieldSupplyFeeUM) {
val minFeeNote = when (yieldSupplyFeeUM) {
is YieldSupplyFeeUM.Content -> yieldSupplyFeeUM.feeNoteValue
is YieldSupplyFeeUM.Content -> yieldSupplyFeeUM.minFeeNoteValue
YieldSupplyFeeUM.Error -> null
YieldSupplyFeeUM.Loading -> null
}
@ -177,6 +177,13 @@ private fun YieldSupplyFeePolicyContent_Preview() {
stringReference("8.50 USDT"),
),
),
minFeeNoteValue = resourceReference(
id = R.string.yield_module_fee_policy_sheet_min_amount_note,
formatArgs = wrappedList(
stringReference("$2.45"),
stringReference("2.46 USDT"),
),
),
),
tokenSymbol = "USDT",
modifier = Modifier.background(TangemTheme.colors.background.primary),