diff --git a/dydx/dydxPresenters/dydxPresenters/_v4/Trade/Margin/dydxTargetLeverageViewBuilder.swift b/dydx/dydxPresenters/dydxPresenters/_v4/Trade/Margin/dydxTargetLeverageViewBuilder.swift index 8a91e74bb..d79759e3b 100644 --- a/dydx/dydxPresenters/dydxPresenters/_v4/Trade/Margin/dydxTargetLeverageViewBuilder.swift +++ b/dydx/dydxPresenters/dydxPresenters/_v4/Trade/Margin/dydxTargetLeverageViewBuilder.swift @@ -93,7 +93,7 @@ private class dydxTargetLeverageViewPresenter: HostedViewPresenter 0 { let maxLeverage = 1.0 / imf - viewModel.leverageOptions = [1, 2, 5, 10] + viewModel.leverageOptions = [1, 2, 3, 5, 10] .filter { $0 < maxLeverage } .map { dydxTargetLeverageViewModel.LeverageTextAndValue(text: dydxFormatter.shared.multiplier(number: Double($0)) ?? "", value: $0) } viewModel.leverageOptions.append(dydxTargetLeverageViewModel.LeverageTextAndValue(text: DataLocalizer.localize(path: "APP.GENERAL.MAX"), value: maxLeverage)) diff --git a/dydx/dydxViews/dydxViews/_v4/Trade/Margin/dydxTargetLeverageView.swift b/dydx/dydxViews/dydxViews/_v4/Trade/Margin/dydxTargetLeverageView.swift index cbb895848..d727ff2c9 100644 --- a/dydx/dydxViews/dydxViews/_v4/Trade/Margin/dydxTargetLeverageView.swift +++ b/dydx/dydxViews/dydxViews/_v4/Trade/Margin/dydxTargetLeverageView.swift @@ -79,7 +79,7 @@ public class dydxTargetLeverageViewModel: PlatformViewModel { private func createOptionsGroup(parentStyle: ThemeStyle) -> some View { let spacing: CGFloat = 8 - let maxItemsToDisplay = CGFloat(min(5, leverageOptions.count)) + let maxItemsToDisplay = CGFloat(leverageOptions.count) return SingleAxisGeometryReader { width in let width = (width + spacing) / maxItemsToDisplay - spacing