diff --git a/dydx/dydxPresenters/dydxPresenters/_v4/GlobalWorkers/Workers/dydxCarteraConfigWorker.swift b/dydx/dydxPresenters/dydxPresenters/_v4/GlobalWorkers/Workers/dydxCarteraConfigWorker.swift index 12623bb5..2cc4f780 100644 --- a/dydx/dydxPresenters/dydxPresenters/_v4/GlobalWorkers/Workers/dydxCarteraConfigWorker.swift +++ b/dydx/dydxPresenters/dydxPresenters/_v4/GlobalWorkers/Workers/dydxCarteraConfigWorker.swift @@ -40,14 +40,13 @@ final class dydxCarteraConfigWorker: BaseWorker { } private func configureCartera(environment: V4Environment) { + if let wallets = environment.walletConnection?.walletConnect?.v2?.wallets?.ios { + CarteraConfig.shared.wcModalWallets = wallets + } let config = WalletProvidersConfig(walletConnectV1: nil, walletConnectV2: WalletConnectV2Config(environment: environment), walletSegue: WalletSegueConfig(environment: environment)) CarteraConfig.shared.walletProvidersConfig = config - - if let wallets = environment.walletConnection?.walletConnect?.v2?.wallets?.ios { - CarteraConfig.shared.wcModalWallets = wallets - } } }