Updated on 2026-08-14
This commit is contained in:
parent
587d356bf3
commit
6fcc50a399
11 changed files with 83 additions and 13 deletions
|
|
@ -71,7 +71,7 @@ private fun SupplyAvailable(supplyUM: YieldSupplyUM.Available, modifier: Modifie
|
|||
modifier = modifier,
|
||||
button = {
|
||||
SecondaryButton(
|
||||
text = stringResourceSafe(R.string.common_learn_more),
|
||||
text = stringResourceSafe(R.string.common_get_started),
|
||||
onClick = supplyUM.onClick,
|
||||
size = TangemButtonSize.WideAction,
|
||||
modifier = Modifier.fillMaxWidth(),
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ internal fun YieldSupplyPromoContent(
|
|||
onClick = clickIntents::onUrlClick,
|
||||
)
|
||||
PrimaryButton(
|
||||
text = stringResourceSafe(R.string.yield_module_start_earning),
|
||||
text = stringResourceSafe(R.string.common_continue),
|
||||
onClick = clickIntents::onStartEarningClick,
|
||||
modifier = Modifier
|
||||
.padding(
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ internal fun YieldSupplyFeePolicyContent(
|
|||
YieldSupplyFeeUM.Loading -> null
|
||||
}
|
||||
YieldSupplyFeeRow(
|
||||
title = resourceReference(R.string.yield_module_fee_policy_sheet_current_fee_title),
|
||||
title = resourceReference(R.string.common_estimated_fee),
|
||||
value = currentFee,
|
||||
modifier = Modifier.padding(vertical = 12.dp),
|
||||
)
|
||||
|
|
|
|||
|
|
@ -144,7 +144,7 @@ internal class YieldSupplyStartEarningModel @Inject constructor(
|
|||
val transactionListData = yieldSupplyStartEarningUseCase(
|
||||
userWalletId = userWallet.walletId,
|
||||
cryptoCurrencyStatus = cryptoCurrencyStatus,
|
||||
maxNetworkFee = maxFee.nativeMaxFee,
|
||||
maxNetworkFee = maxFee.tokenMaxFee,
|
||||
).getOrNull()
|
||||
|
||||
if (transactionListData == null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue