Skip to content

Commit 93c86d6

Browse files
authored
Merge pull request #20 from dydxprotocol/features/sheet
Update trade sheet height
2 parents 050c430 + 9ae0f22 commit 93c86d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ios/dydx/dydxPresenters/dydxPresenters/_v4/Trade/TradeInput/dydxTradeInputViewBuilder.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ private class dydxTradeInputViewController: HostingViewController<PlatformView,
5555
var positions: [FloatingPanel.FloatingPanelState: FloatingPanel.FloatingPanelLayoutAnchoring] = [
5656
.tip: FloatingPanelLayoutAnchor(absoluteInset: 90, edge: .bottom, referenceGuide: .safeArea),
5757
// Use .half instead of .full, so that the back button from the parent view is enabled.
58-
.half: FloatingPanelLayoutAnchor(absoluteInset: 76, edge: .top, referenceGuide: .safeArea)
58+
.half: FloatingPanelLayoutAnchor(absoluteInset: 36, edge: .top, referenceGuide: .safeArea)
5959
]
6060
if position == nil {
6161
positions[.hidden] = FloatingPanelLayoutAnchor(absoluteInset: 0, edge: .bottom, referenceGuide: .superview)

0 commit comments

Comments
 (0)