Updated on 2026-08-14
This commit is contained in:
parent
aa6f185cd1
commit
7d19c86f04
6 changed files with 98 additions and 14 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue