diff --git a/dydx/dydxViews/dydxViews/_v4/Vault/Landing/dydxVaultPositionView.swift b/dydx/dydxViews/dydxViews/_v4/Vault/Landing/dydxVaultPositionView.swift index 59908565a..00573fe14 100644 --- a/dydx/dydxViews/dydxViews/_v4/Vault/Landing/dydxVaultPositionView.swift +++ b/dydx/dydxViews/dydxViews/_v4/Vault/Landing/dydxVaultPositionView.swift @@ -31,10 +31,13 @@ public class dydxVaultPositionViewModel: PlatformViewModel { @Published public var sparklineValues: [Double] fileprivate var sideLeverageAttributedText: AttributedString { - let attributedSideText = AttributedString(text: side.text, urlString: nil).themeColor(foreground: side.color) + let attributedSideText = AttributedString(text: side.text, urlString: nil) + .themeColor(foreground: side.color) let leverageText = dydxFormatter.shared.leverage(number: leverage) ?? "--" - let attributedLeverageText = AttributedString(text: "@ " + leverageText, urlString: nil).themeColor(foreground: .textTertiary) - return attributedSideText + attributedLeverageText + let attributedLeverageText = AttributedString(text: "@ " + leverageText, urlString: nil) + .themeColor(foreground: .textTertiary) + return (attributedSideText + attributedLeverageText) + .themeFont(fontType: .base, fontSize: .smaller) } fileprivate var notionalValueText: String {