Updated on 2026-08-14

This commit is contained in:
Tangem 2024-06-23 23:36:32 +04:00
parent 3595fdbf9a
commit 36871cc5c9
17 changed files with 152 additions and 10 deletions

View file

@ -0,0 +1 @@
/build

View file

@ -0,0 +1,19 @@
plugins {
alias(deps.plugins.android.library)
alias(deps.plugins.kotlin.android)
id("configuration")
}
android {
namespace = "com.tangem.feature.walletsettings.api"
}
dependencies {
/* Project - Domain */
implementation(projects.domain.wallets.models)
/* Project - Core */
implementation(projects.core.decompose)
implementation(projects.core.ui)
}

View file

@ -0,0 +1,16 @@
package com.tangem.feature.walletsettings.component
import com.tangem.core.decompose.factory.ComponentFactory
import com.tangem.core.ui.decompose.ComposableDialogComponent
import com.tangem.domain.wallets.models.UserWalletId
interface RenameWalletComponent : ComposableDialogComponent {
data class Params(
val userWalletId: UserWalletId,
val currentName: String,
val onDismiss: () -> Unit,
)
interface Factory : ComponentFactory<Params, RenameWalletComponent>
}

View file

@ -0,0 +1,14 @@
package com.tangem.feature.walletsettings.component
import com.tangem.core.decompose.factory.ComponentFactory
import com.tangem.core.ui.decompose.ComposableContentComponent
import com.tangem.domain.wallets.models.UserWalletId
interface WalletSettingsComponent : ComposableContentComponent {
data class Params(
val userWalletId: UserWalletId,
)
interface Factory : ComponentFactory<Params, WalletSettingsComponent>
}