Updated on 2026-08-14

This commit is contained in:
Tangem 2025-11-07 16:48:35 +05:00
parent 587d356bf3
commit 6fcc50a399
11 changed files with 83 additions and 13 deletions

View file

@ -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(),

View file

@ -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(

View file

@ -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),
)

View file

@ -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) {