Updated on 2026-08-14

This commit is contained in:
Tangem 2023-07-04 23:23:08 +08:00
parent 890048f5b2
commit 8163b80ad3
55 changed files with 389 additions and 492 deletions

View file

@ -29,7 +29,9 @@ import kotlinx.coroutines.delay
import kotlinx.coroutines.launch
import kotlin.coroutines.suspendCoroutine
class DerivationManagerImpl(private val appStateHolder: AppStateHolder) : DerivationManager {
class DerivationManagerImpl(
private val appStateHolder: AppStateHolder,
) : DerivationManager {
override suspend fun deriveMissingBlockchains(currency: Currency) = suspendCoroutine { continuation ->
val blockchain = Blockchain.fromNetworkId(currency.networkId)

View file

@ -46,7 +46,9 @@ class ProxyModule {
@Provides
@Singleton
fun provideDerivationManager(appStateHolder: AppStateHolder): DerivationManager {
return DerivationManagerImpl(appStateHolder = appStateHolder)
return DerivationManagerImpl(
appStateHolder = appStateHolder,
)
}
// regions FeatureConsumers

View file

@ -2,7 +2,6 @@ package com.tangem.tap.proxy.redux
import com.tangem.datasource.asset.AssetReader
import com.tangem.datasource.connection.NetworkConnectionManager
import com.tangem.domain.card.CardTypeResolver
import com.tangem.domain.card.ScanCardUseCase
import com.tangem.features.tester.api.TesterRouter
import com.tangem.features.wallet.featuretoggles.WalletFeatureToggles
@ -24,7 +23,6 @@ data class DaggerGraphState(
val walletConnectRepository: WalletConnectRepository? = null,
val walletConnectSessionsRepository: WalletConnectSessionsRepository? = null,
val walletConnectInteractor: WalletConnectInteractor? = null,
val cardTypeResolver: CardTypeResolver? = null,
) : StateType {
inline fun <reified T> get(getDependency: DaggerGraphState.() -> T?): T {