diff --git a/dydx/dydxPresenters/dydxPresenters/_v4/OrderDetails/dydxOrderDetailsViewBuilder.swift b/dydx/dydxPresenters/dydxPresenters/_v4/OrderDetails/dydxOrderDetailsViewBuilder.swift index e8ba1465d..57b43c160 100644 --- a/dydx/dydxPresenters/dydxPresenters/_v4/OrderDetails/dydxOrderDetailsViewBuilder.swift +++ b/dydx/dydxPresenters/dydxPresenters/_v4/OrderDetails/dydxOrderDetailsViewBuilder.swift @@ -5,17 +5,17 @@ // Created by Rui Huang on 1/10/23. // -import Utilities -import dydxViews -import PlatformParticles -import RoutingKit -import ParticlesKit -import PlatformUI import Abacus -import dydxStateManager import Combine import dydxFormatter +import dydxStateManager +import dydxViews +import ParticlesKit +import PlatformParticles +import PlatformUI +import RoutingKit import SwiftUI +import Utilities public class dydxOrderDetailsViewBuilder: NSObject, ObjectBuilderProtocol { public func build() -> T? { @@ -28,7 +28,7 @@ public class dydxOrderDetailsViewBuilder: NSObject, ObjectBuilderProtocol { private class dydxOrderDetailsViewController: HostingViewController { override public func arrive(to request: RoutingRequest?, animated: Bool) -> Bool { - if request?.path == "/order" || request?.path == "/orders"{ + if request?.path == "/order" || request?.path == "/orders" { if let presenter = presenter as? dydxOrderDetailsViewPresenter, let orderOrFillId = request?.params?["id"] as? String { presenter.orderOrFillId = orderOrFillId @@ -44,7 +44,6 @@ private protocol dydxOrderDetailsViewPresenterProtocol: HostedViewPresenterProto } private class dydxOrderDetailsViewPresenter: HostedViewPresenter, dydxOrderDetailsViewPresenterProtocol { - fileprivate var orderOrFillId: String? override init() { @@ -59,8 +58,8 @@ private class dydxOrderDetailsViewPresenter: HostedViewPresenter