Updated on 2026-08-14

This commit is contained in:
Tangem 2026-04-10 13:51:14 +04:00
parent 73a6042277
commit a650d0786b
4 changed files with 10 additions and 1 deletions

View file

@ -24,6 +24,7 @@ internal class WalletManagerFactoryCreator @Inject constructor(
private val blockchainDataStorage: BlockchainDataStorage,
private val blockchainSDKLogger: BlockchainSDKLogger,
private val isSolanaTxHistoryEnabled: Boolean,
private val isSolanaScaledUiAmountEnabled: Boolean,
) {
fun create(config: BlockchainSdkConfig, blockchainProviderTypes: BlockchainProviderTypes): WalletManagerFactory {
@ -37,6 +38,7 @@ internal class WalletManagerFactoryCreator @Inject constructor(
isYieldSupplyEnabled = true,
isPendingTransactionsEnabled = true,
isSolanaTxHistoryEnabled = isSolanaTxHistoryEnabled,
isSolanaScaledUiAmountEnabled = isSolanaScaledUiAmountEnabled,
),
blockchainDataStorage = blockchainDataStorage,
loggers = listOf(blockchainSDKLogger),

View file

@ -100,6 +100,9 @@ internal object BlockchainSDKFactoryModule {
isSolanaTxHistoryEnabled = featureTogglesManager.isFeatureEnabled(
FeatureToggles.SOLANA_TX_HISTORY_ENABLED,
),
isSolanaScaledUiAmountEnabled = featureTogglesManager.isFeatureEnabled(
FeatureToggles.SOLANA_SCALED_UI_AMOUNT_ENABLED,
),
)
}
}