Updated on 2026-08-14
This commit is contained in:
parent
4d75db3cdd
commit
22dc2eb3e9
57 changed files with 931 additions and 258 deletions
|
|
@ -55,6 +55,13 @@ interface ChooseTokenBridge : ChooseTokenBridgeInternal {
|
|||
isAppBarShown = false,
|
||||
isShowSingleCurrencyWallets = true,
|
||||
)
|
||||
val Transfer = Settings(
|
||||
title = resourceReference(R.string.common_transfer),
|
||||
isShowMarketBlock = false,
|
||||
isShowPaymentAccount = false,
|
||||
isAppBarShown = false,
|
||||
isShowSingleCurrencyWallets = true,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,17 +1,20 @@
|
|||
package com.tangem.features.commonfeatures.api.addfunds
|
||||
package com.tangem.features.commonfeatures.api.managefunds
|
||||
|
||||
import com.tangem.core.decompose.factory.ComponentFactory
|
||||
import com.tangem.core.ui.decompose.ComposableBottomSheetComponent
|
||||
import com.tangem.domain.models.currency.CryptoCurrency
|
||||
import com.tangem.domain.models.wallet.UserWalletId
|
||||
|
||||
interface AddFundsComponent : ComposableBottomSheetComponent {
|
||||
interface ManageFundsComponent : ComposableBottomSheetComponent {
|
||||
|
||||
data class Params(
|
||||
val launchMode: LaunchMode,
|
||||
val onDismiss: () -> Unit,
|
||||
val flowType: FlowType = FlowType.AddFunds,
|
||||
)
|
||||
|
||||
enum class FlowType { AddFunds, Transfer }
|
||||
|
||||
sealed interface LaunchMode {
|
||||
data class ChooseToken(val userWalletId: UserWalletId) : LaunchMode
|
||||
|
||||
|
|
@ -25,5 +28,5 @@ interface AddFundsComponent : ComposableBottomSheetComponent {
|
|||
) : LaunchMode
|
||||
}
|
||||
|
||||
interface Factory : ComponentFactory<Params, AddFundsComponent>
|
||||
interface Factory : ComponentFactory<Params, ManageFundsComponent>
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue