Updated on 2026-08-14
This commit is contained in:
parent
4032360f13
commit
4dc6dffd67
16 changed files with 381 additions and 50 deletions
|
|
@ -4,17 +4,19 @@ import com.tangem.core.decompose.context.AppComponentContext
|
|||
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.tokens.model.details.TokenAction
|
||||
|
||||
interface YieldSupplyDepositedWarningComponent : ComposableBottomSheetComponent {
|
||||
|
||||
data class Params(
|
||||
val cryptoCurrency: CryptoCurrency,
|
||||
val tokenAction: TokenAction,
|
||||
val modelCallback: ModelCallback,
|
||||
val onDismiss: () -> Unit,
|
||||
)
|
||||
|
||||
interface ModelCallback {
|
||||
fun onYieldSupplyWarningAcknowledged()
|
||||
fun onYieldSupplyWarningAcknowledged(tokenAction: TokenAction)
|
||||
}
|
||||
|
||||
interface Factory : ComponentFactory<Params, YieldSupplyDepositedWarningComponent> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue