From 892af076e4bfcba9b80f8839204c4a879fe2f021 Mon Sep 17 00:00:00 2001 From: Mike Date: Mon, 19 Aug 2024 15:49:29 -0400 Subject: [PATCH] use displayid for market mode selector --- .../Margin/dydxMarginModeViewBuilder.swift | 18 +++++++++++++++++- .../_v4/Trade/Margin/dydxMarginModeView.swift | 8 ++++---- 2 files changed, 21 insertions(+), 5 deletions(-) diff --git a/dydx/dydxPresenters/dydxPresenters/_v4/Trade/Margin/dydxMarginModeViewBuilder.swift b/dydx/dydxPresenters/dydxPresenters/_v4/Trade/Margin/dydxMarginModeViewBuilder.swift index 1234c7927..a21e454a8 100644 --- a/dydx/dydxPresenters/dydxPresenters/_v4/Trade/Margin/dydxMarginModeViewBuilder.swift +++ b/dydx/dydxPresenters/dydxPresenters/_v4/Trade/Margin/dydxMarginModeViewBuilder.swift @@ -13,6 +13,7 @@ import ParticlesKit import PlatformUI import dydxStateManager import Abacus +import Combine public class dydxMarginModeViewBuilder: NSObject, ObjectBuilderProtocol { public func build() -> T? { @@ -62,16 +63,31 @@ private class dydxMarginModeViewPresenter: HostedViewPresenter