Updated on 2026-08-14

This commit is contained in:
Tangem 2026-02-27 12:16:41 +04:00
parent c62f464b86
commit e047c491cf
11 changed files with 158 additions and 20 deletions

View file

@ -4,12 +4,12 @@ import com.tangem.core.decompose.context.AppComponentContext
import com.tangem.core.ui.decompose.ComposableBottomSheetComponent
import com.tangem.core.ui.extensions.TextReference
import com.tangem.domain.models.currency.CryptoCurrencyStatus
import com.tangem.domain.models.wallet.UserWallet
import com.tangem.domain.models.wallet.UserWalletId
interface GiveApprovalComponent : ComposableBottomSheetComponent {
data class Params(
val userWallet: UserWallet,
val userWalletId: UserWalletId,
val cryptoCurrencyStatus: CryptoCurrencyStatus,
val feeCryptoCurrencyStatus: CryptoCurrencyStatus,
val amount: String,
@ -19,6 +19,7 @@ interface GiveApprovalComponent : ComposableBottomSheetComponent {
)
interface Callback {
fun onApproveClick()
fun onApproveDone()
fun onApproveFailed()
fun onCancelClick()