Updated on 2026-08-14
This commit is contained in:
parent
c62f464b86
commit
e047c491cf
11 changed files with 158 additions and 20 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue