Updated on 2026-08-14
This commit is contained in:
parent
3d5a8654a5
commit
67ca192c16
19 changed files with 90 additions and 52 deletions
|
|
@ -5,13 +5,14 @@ plugins {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
api(deps.kotlin.coroutines)
|
||||
api(deps.arrow.core)
|
||||
api(deps.arrow.fx)
|
||||
api(projects.domain.models)
|
||||
|
||||
api(deps.kotlin.coroutines)
|
||||
implementation(deps.kotlin.serialization)
|
||||
|
||||
api(projects.core.analytics.models)
|
||||
api(projects.domain.models)
|
||||
|
||||
testImplementation(deps.test.coroutine)
|
||||
testImplementation(deps.test.junit)
|
||||
testImplementation(deps.test.mockk)
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
package com.tangem.domain.common.wallets
|
||||
|
||||
import arrow.core.Either
|
||||
import com.tangem.core.analytics.models.AnalyticsParam
|
||||
import com.tangem.domain.common.wallets.error.*
|
||||
import com.tangem.domain.models.scan.ScanResponse
|
||||
import com.tangem.domain.models.wallet.UserWallet
|
||||
|
|
@ -145,7 +146,10 @@ interface UserWalletsListRepository {
|
|||
sealed class UnlockMethod {
|
||||
data object Biometric : UnlockMethod()
|
||||
data object AccessCode : UnlockMethod()
|
||||
data class Scan(val scanResponse: ScanResponse? = null) : UnlockMethod()
|
||||
data class Scan(
|
||||
val scanResponse: ScanResponse? = null,
|
||||
val source: AnalyticsParam.ScreensSources,
|
||||
) : UnlockMethod()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue